# HG changeset patch # User Gerd Moellmann # Date 979223005 0 # Node ID c19a7d700b6dc56844f13d49a5d4d81b6362b314 # Parent 2c2f69f9b3b7243a037cf60495b60ed25ef2ef7e (eval-after-load): Call load-symbol-file-load-history to ensure that eval-after-load works for files dumped with Emacs. diff -r 2c2f69f9b3b7 -r c19a7d700b6d lisp/subr.el --- a/lisp/subr.el Thu Jan 11 13:37:34 2001 +0000 +++ b/lisp/subr.el Thu Jan 11 14:23:25 2001 +0000 @@ -804,6 +804,9 @@ 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 `load-history' contains the files dumped with Emacs + ;; for the case that FILE is one of the files dumped with Emacs. + (load-symbol-file-load-history) ;; Make sure there is an element for FILE. (or (assoc file after-load-alist) (setq after-load-alist (cons (list file) after-load-alist)))