all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* noob question on cl-flet.
@ 2016-04-20 14:50 Shiyao Ma
  2016-04-20 15:50 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Shiyao Ma @ 2016-04-20 14:50 UTC (permalink / raw
  To: help-gnu-emacs

Hi,

for this code:

(cl-flet ((myfunc nil
                  (message "i am in")))
  (myfunc)
  (princ (symbol-function 'myfunc)))


Why symbol-function gives nil? My expectation is the function.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-20 16:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-20 14:50 noob question on cl-flet Shiyao Ma
2016-04-20 15:50 ` Drew Adams
2016-04-20 16:08   ` Michael Heerdegen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.