projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd681d4
)
Make #'eval-after-load DTRT for dumped lisp (Closes bug 183)
author
Steve Youngs
<steve@sxemacs.org>
Sat, 18 Jun 2016 07:59:37 +0000
(17:59 +1000)
committer
Steve Youngs
<steve@sxemacs.org>
Sat, 18 Jun 2016 07:59:37 +0000
(17:59 +1000)
* lisp/subr.el (eval-after-load): Make sure FORM is eval'd
immediately if FILE is a dumped lib.
Signed-off-by: Steve Youngs <steve@sxemacs.org>
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index
d9a37a3
..
9d1cde1
100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-1700,7
+1700,8
@@
is normally called."
(progn
(nconc elt (list form))
;; If the file has been loaded already, run FORM right away.
- (and (assoc file load-history)
+ (and (or (assoc file load-history)
+ (member file preloaded-file-list))
(eval form)))))
form)
(make-compatible 'eval-after-load "")