GNU bug report logs - #11357
24.0.95; Warning: (lambda (G11400) ...) quoted with ' rather than with #'

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Fri, 27 Apr 2012 03:44:02 UTC

Severity: minor

Tags: patch

Found in version 24.0.95

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 11357 <at> debbugs.gnu.org
Cc: Leo <sdl.web <at> gmail.com>
Subject: bug#11357: 24.0.95; Warning: (lambda (G11400) ...) quoted with ' rather than with #'
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))




This bug report was last modified 8 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.