]> code.delx.au - gnu-emacs/commitdiff
Improve documentation of 'with-eval-after-load'
authorEli Zaretskii <eliz@gnu.org>
Sun, 10 Apr 2016 16:15:13 +0000 (19:15 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 10 Apr 2016 16:15:13 +0000 (19:15 +0300)
* lisp/subr.el (with-eval-after-load): Doc fix.  (Bug#23258)

lisp/subr.el

index cbcc27baad118324d5bac4045a0ed02c2d77c99e..4202cc74d482ed7342d02326d6807263bd7a90a1 100644 (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)))