emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 4dec928 2/7: Fix quoted lambda warning from lexical


From: Noam Postavsky
Subject: [Emacs-diffs] master 4dec928 2/7: Fix quoted lambda warning from lexical-let
Date: Sat, 6 Aug 2016 20:16:32 +0000 (UTC)

branch: master
commit 4dec928691d91e8c46ca56ebda5b17a806aa076b
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Fix quoted lambda warning from lexical-let
    
    * lisp/emacs-lisp/cl.el (cl--function-convert): Quote the inner lambda
    with `function', not `quote' (Bug #11357).
---
 lisp/emacs-lisp/cl.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el
index fac600e..c3d3fea 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/emacs-lisp/cl.el
@@ -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))



reply via email to

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