]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix quoted lambda warning from lexical-let
authorNoam Postavsky <npostavs@gmail.com>
Fri, 10 Jun 2016 01:54:13 +0000 (21:54 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 6 Aug 2016 20:16:02 +0000 (16:16 -0400)
* lisp/emacs-lisp/cl.el (cl--function-convert): Quote the inner lambda
with `function', not `quote' (Bug #11357).

lisp/emacs-lisp/cl.el

index fac600e4e13af58dca2d40615ceb43738e5d11e9..c3d3feae876e1c8137051b0ceaa36ac4b34b2b58 100644 (file)
@@ -364,7 +364,7 @@ The two cases that are handled are:
             `(list 'lambda '(&rest --cl-rest--)
                    ,@(cl-sublis sub (nreverse decls))
                    (list 'apply
-                         (list 'quote
+                         (list 'function
                                #'(lambda ,(append new (cadr f))
                                    ,@(cl-sublis sub body)))
                          ,@(nconc (mapcar (lambda (x) `(list 'quote ,x))