From 19594307c97cb7c9b9fed97f704c427d8c9c695f Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 20 Dec 2000 20:09:59 +0000 Subject: [PATCH] (eval-after-load): Doc fix. --- lisp/ChangeLog | 4 ++++ lisp/subr.el | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 50f4982eabe..a42840ea39a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2000-12-20 Dave Love + + * subr.el (eval-after-load): Doc fix. + 2000-12-20 Kenichi Handa * jka-compr.el (jka-compr-partial-uncompress): Don't use `concat' diff --git a/lisp/subr.el b/lisp/subr.el index 6abec8c5b41..087b8cfcd0f 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -787,7 +787,9 @@ other hooks, such as major mode hooks, can do the job." This makes or adds to an entry on `after-load-alist'. If FILE is already loaded, evaluate FORM right now. It does nothing if FORM is already on the list for FILE. -FILE should be the name of a library, with no directory name." +FILE must match exactly. Normally FILE is the name of a library, +with no directory or extension specified, since that is how `load' +is normally called." ;; Make sure there is an element for FILE. (or (assoc file after-load-alist) (setq after-load-alist (cons (list file) after-load-alist))) -- 2.39.2