diff options
| author | Eli Zaretskii | 2016-04-10 19:15:13 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-04-10 19:15:13 +0300 |
| commit | 85f257c9bc5b89043b2d7019e6763e552f4c89e7 (patch) | |
| tree | c855165c98b740723650d5aec20b3ffb4f48b106 | |
| parent | 668c7bc5ba761551ef0d08dc96080eb5aa169da1 (diff) | |
| download | emacs-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.el | 3 |
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. |
| 3947 | FILE is normally a feature name, but it can also be a file name, | 3947 | FILE is normally a feature name, but it can also be a file name, |
| 3948 | in case that file does not provide any feature." | 3948 | in case that file does not provide any feature. See `eval-after-load' |
| 3949 | for 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 | ||