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: Constantin Kulikov
Subject: Re: Lambda in macrolet becomes a closure? (another breaking change in emacs:))
Date: Tue, 27 Sep 2016 12:13:02 +0300

> Since we're in a macro
Actualy I run the code at run-time. I need to generate function and byte-compile it at runtime.
Does `with-no-warnings' intended to be used at compile-time?
I'm running this code in `ielm' and still get a warning

(with-no-warnings
        (let* ((fu #'(lambda (a) (+ a 1)))
               ba)
          (message "%s" `,fu)
          (let (byte-compile-warnings)
           (setq ba (byte-compile `(lambda (b) (funcall (quote ,fu) b)))))
         (funcall ba 2)))

> By looking at the value (or do I miss something)?
Yes, car-safe works, thanks)


reply via email to

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