diff lisp/cl-macs.el @ 5609:3152c2c21461

Correct and clarify docstring, #'load-time-value lisp/ChangeLog addition: 2011-12-09 Aidan Kehoe <kehoea@parhasard.net> * cl-macs.el (load-time-value): Clarify the docstring here, thanks for pointing out its inaccuracy Julian Bradfield.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 09 Dec 2011 08:38:07 +0000
parents a0e81357194e
children 281bf2b87915
line wrap: on
line diff
--- a/lisp/cl-macs.el	Thu Dec 08 10:05:14 2011 -0500
+++ b/lisp/cl-macs.el	Fri Dec 09 08:38:07 2011 +0000
@@ -3891,8 +3891,10 @@
 
 ;;;###autoload
 (defmacro load-time-value (form &optional read-only)
-  "Like `progn', but evaluates the body at load time.
-The result of the body appears to the compiler as a quoted constant."
+  "Evaluate FORM once at load time if byte-compiled.
+
+The result of FORM is returned and stored for later access.  In
+interpreted code, `load-time-value' is equivalent to `progn'."
   (list 'progn form))
 
 ;;;###autoload