aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2016-04-10 19:15:13 +0300
committerEli Zaretskii2016-04-10 19:15:13 +0300
commit85f257c9bc5b89043b2d7019e6763e552f4c89e7 (patch)
treec855165c98b740723650d5aec20b3ffb4f48b106
parent668c7bc5ba761551ef0d08dc96080eb5aa169da1 (diff)
downloademacs-85f257c9bc5b89043b2d7019e6763e552f4c89e7.tar.gz
emacs-85f257c9bc5b89043b2d7019e6763e552f4c89e7.zip
Improve documentation of 'with-eval-after-load'
* lisp/subr.el (with-eval-after-load): Doc fix. (Bug#23258)
-rw-r--r--lisp/subr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index cbcc27baad1..4202cc74d48 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -3945,7 +3945,8 @@ This function makes or adds to an entry on `after-load-alist'."
3945(defmacro with-eval-after-load (file &rest body) 3945(defmacro with-eval-after-load (file &rest body)
3946 "Execute BODY after FILE is loaded. 3946 "Execute BODY after FILE is loaded.
3947FILE is normally a feature name, but it can also be a file name, 3947FILE is normally a feature name, but it can also be a file name,
3948in case that file does not provide any feature." 3948in case that file does not provide any feature. See `eval-after-load'
3949for more details about the different forms of FILE and their semantics."
3949 (declare (indent 1) (debug t)) 3950 (declare (indent 1) (debug t))
3950 `(eval-after-load ,file (lambda () ,@body))) 3951 `(eval-after-load ,file (lambda () ,@body)))
3951 3952