GNU bug report logs -
#14492
[PATCH] Bug in Elisp manual
Previous Next
Reported by: Kelly Dean <kellydeanch <at> yahoo.com>
Date: Tue, 28 May 2013 22:33:01 UTC
Severity: minor
Tags: patch
Merged with 14800
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Here's another one. Patch below.
Also, the {describe-symbols example} xref in that file doesn't work, but I don't know why.
--- emacs-24.3/doc/lispref/functions.texi
+++ emacs-24.3/doc/lispref/functions.texi
@@ -974,15 +974,15 @@
If you compile the above code, the anonymous function is also
compiled. This would not happen if, say, you had constructed the
anonymous function by quoting it as a list:
@example
@group
(defun double-property (symbol prop)
- (change-property symbol prop (lambda (x) (* 2 x))))
+ (change-property symbol prop '(lambda (x) (* 2 x))))
@end group
@end example
@noindent
In that case, the anonymous function is kept as a lambda expression in
the compiled code. The byte-compiler cannot assume this list is a
function, even though it looks like one, since it does not know that
This bug report was last modified 11 years and 317 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.