|
From: | Constantin Kulikov |
Subject: | Re: Lambda in macrolet becomes a closure? (another breaking change in emacs:)) |
Date: | Fri, 23 Sep 2016 20:19:36 +0300 |
(setq lexical-binding t)(let ((var 1))(let* ((fu #'(lambda (a) (+ a var)))ba)(message "%s" `,fu)(setq ba (byte-compile `(lambda (b) (funcall (quote ,fu) b))))(funcall ba 2)))
(setq lexical-binding nil)(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))
Warning: (lambda (a) ...) quoted with ' rather than with #'
[Prev in Thread] | Current Thread | [Next in Thread] |