bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14492: [PATCH2] Re: bug# 14492: Bug in Elisp manual


From: Kelly Dean
Subject: bug#14492: [PATCH2] Re: bug# 14492: Bug in Elisp manual
Date: Wed, 5 Jun 2013 16:06:18 -0700 (PDT)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]