* bug#11357: 24.0.95; Warning: (lambda (G11400) ...) quoted with ' rather than with #'
@ 2012-04-27 3:41 Leo
2016-06-10 2:03 ` Noam Postavsky
0 siblings, 1 reply; 2+ messages in thread
From: Leo @ 2012-04-27 3:41 UTC (permalink / raw)
To: 11357
[-- Attachment #1: Type: text/plain, Size: 178 bytes --]
Save the attached file to bc.el
emacs -q -l bc.el to get this warning:
Warning: (lambda (G11400) ...) quoted with ' rather than with #'
This a fault of cl-macroexpand-all.
[-- Attachment #2: bc.el --]
[-- Type: application/emacs-lisp, Size: 95 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#11357: 24.0.95; Warning: (lambda (G11400) ...) quoted with ' rather than with #'
2012-04-27 3:41 bug#11357: 24.0.95; Warning: (lambda (G11400) ...) quoted with ' rather than with #' Leo
@ 2016-06-10 2:03 ` Noam Postavsky
0 siblings, 0 replies; 2+ messages in thread
From: Noam Postavsky @ 2016-06-10 2:03 UTC (permalink / raw)
To: 11357; +Cc: Leo
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))
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-10 2:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-27 3:41 bug#11357: 24.0.95; Warning: (lambda (G11400) ...) quoted with ' rather than with #' Leo
2016-06-10 2:03 ` Noam Postavsky
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).