From 4dec928691d91e8c46ca56ebda5b17a806aa076b Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Thu, 9 Jun 2016 21:54:13 -0400 Subject: [PATCH] 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 fac600e4e13..c3d3feae876 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)) -- 2.39.2