From 0b1c89c19afb8cc9132212279dc4a4a4927bb5d7 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sun, 11 Sep 2011 04:56:39 +0200 Subject: [PATCH] * subr.el (eval-after-load): Doc string clarification Fixes: debbugs:9125 --- lisp/ChangeLog | 2 ++ lisp/subr.el | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f321ae359bd..e9de6bcfb1f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2011-09-11 Lars Magne Ingebrigtsen + * subr.el (eval-after-load): Doc string clarification (bug#9125). + * image-mode.el (image-next-line): The line parameter is mandatory (bug#9258). diff --git a/lisp/subr.el b/lisp/subr.el index 35fac1fe8f2..c11db6ad949 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1747,7 +1747,7 @@ Return nil if there isn't one." (put 'eval-after-load 'lisp-indent-function 1) (defun eval-after-load (file form) - "Arrange that, if FILE is ever loaded, FORM will be run at that time. + "Arrange that if FILE is loaded, FORM will be run immediately afterwards. If FILE is already loaded, evaluate FORM right now. If a matching file is loaded again, FORM will be evaluated again. -- 2.39.5