emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lambda in macrolet becomes a closure? (another breaking change in em


From: Michael Heerdegen
Subject: Re: Lambda in macrolet becomes a closure? (another breaking change in emacs:))
Date: Sun, 25 Sep 2016 20:01:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Constantin Kulikov <address@hidden> writes:

> [...] then how I can decide how to quote this value [...]?

By looking at the value (or do I miss something)?

#+begin_src emacs-lisp
(let ((var 1))
  (let* ((fu #'(lambda (a) (+ a var)))
         ba)
    (message "%s" `,fu)
    (setq ba (byte-compile `(lambda (b) (funcall ,(if (equal (car-safe fu) 
'lambda) `#',fu `',fu) b))))
    (funcall ba 3)))
#+end_src

:-)


Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]