Subject: bug#11357: 24.0.95; Warning: (lambda (G11400) ...) quoted with ' rather than with #'

From: Noam Postavsky <[email-masked]>
Date: Thu, 9 Jun 2016 22:03:18 -0400

tag 11357 + patch
quit

It's cl--function-convert's fault actually, seems to be fixed by
simple patch below:

diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el
index e48376b..74790f8 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/emacs-lisp/cl.el
@@ -365,7 +365,7 @@ cl--function-convert
             `(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))