mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
(eval-after-load): Call load-symbol-file-load-history to
ensure that eval-after-load works for files dumped with Emacs.
This commit is contained in:
parent
2c2ff7f288
commit
422717d17b
2 changed files with 10 additions and 0 deletions
|
|
@ -1,5 +1,12 @@
|
|||
2001-01-11 Gerd Moellmann <gerd@gnu.org>
|
||||
|
||||
* subr.el (eval-after-load): Call load-symbol-file-load-history to
|
||||
ensure that eval-after-load works for files dumped with Emacs.
|
||||
|
||||
* help.el (load-symbol-file-load-history): New function extracted
|
||||
from function symbol-file.
|
||||
(symbol-file): Use it.
|
||||
|
||||
* toolbar/save.xpm, toolbar/undo.xpm: Use the same colors as
|
||||
exit.xpm.
|
||||
|
||||
|
|
|
|||
|
|
@ -804,6 +804,9 @@ It does nothing if FORM is already on the list for FILE.
|
|||
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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue