Improve documentation of 'with-eval-after-load'
* lisp/subr.el (with-eval-after-load): Doc fix. (Bug#23258)
This commit is contained in:
parent
668c7bc5ba
commit
85f257c9bc
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue