1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-24 10:38:38 +00:00

Improve documentation of 'with-eval-after-load'

* lisp/subr.el (with-eval-after-load): Doc fix.  (Bug#23258)
This commit is contained in:
Eli Zaretskii 2016-04-10 19:15:13 +03:00
parent 668c7bc5ba
commit 85f257c9bc

View File

@ -3945,7 +3945,8 @@ This function makes or adds to an entry on `after-load-alist'."
(defmacro with-eval-after-load (file &rest body)
"Execute BODY after FILE is loaded.
FILE is normally a feature name, but it can also be a file name,
in case that file does not provide any feature."
in case that file does not provide any feature. See `eval-after-load'
for more details about the different forms of FILE and their semantics."
(declare (indent 1) (debug t))
`(eval-after-load ,file (lambda () ,@body)))