Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
5608:4cffcc80b299 | 5609:3152c2c21461 |
---|---|
3889 (defmacro declare (&rest specs) | 3889 (defmacro declare (&rest specs) |
3890 nil) | 3890 nil) |
3891 | 3891 |
3892 ;;;###autoload | 3892 ;;;###autoload |
3893 (defmacro load-time-value (form &optional read-only) | 3893 (defmacro load-time-value (form &optional read-only) |
3894 "Like `progn', but evaluates the body at load time. | 3894 "Evaluate FORM once at load time if byte-compiled. |
3895 The result of the body appears to the compiler as a quoted constant." | 3895 |
3896 The result of FORM is returned and stored for later access. In | |
3897 interpreted code, `load-time-value' is equivalent to `progn'." | |
3896 (list 'progn form)) | 3898 (list 'progn form)) |
3897 | 3899 |
3898 ;;;###autoload | 3900 ;;;###autoload |
3899 (defmacro labels (bindings &rest body) | 3901 (defmacro labels (bindings &rest body) |
3900 "Make temporary function bindings. | 3902 "Make temporary function bindings. |