unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).