NOTE: This patch has been committed.
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1323419887 0
# Node ID 3152c2c214612b81eb7bba521081b6a54e0145e9
# Parent 4cffcc80b299943ca34a38863344056e000271c4
Correct and clarify docstring, #'load-time-value
2011-12-09 Aidan Kehoe <kehoea(a)parhasard.net>
* cl-macs.el (load-time-value):
Clarify the docstring here, thanks for pointing out its inaccuracy
diff -r 4cffcc80b299 -r 3152c2c21461 lisp/ChangeLog
--- a/lisp/ChangeLog Thu Dec 08 10:05:14 2011 -0500
+++ b/lisp/ChangeLog Fri Dec 09 08:38:07 2011 +0000
＠＠ -1,3 +1,9 ＠＠
+2011-12-09 Aidan Kehoe <kehoea(a)parhasard.net>
+ * cl-macs.el (load-time-value):
+ Clarify the docstring here, thanks for pointing out its inaccuracy
+ Julian Bradfield.
2011-11-14 Vin Shelton <acs(a)xemacs.org>
* faces.el: When the default background was changed from light to
diff -r 4cffcc80b299 -r 3152c2c21461 lisp/cl-macs.el
--- 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 ＠＠
(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))
‘Iodine deficiency was endemic in parts of the UK until, through what has been
described as “an unplanned and accidental public health triumph”, iodine was
added to cattle feed to improve milk production in the 1930s.’
(EN Pearce, Lancet, June 2011)
XEmacs-Patches mailing list