mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-12 16:23:57 +00:00
eval-after-load fix
* lisp/subr.el (eval-after-load): Don't purecopy the form, so that it can be nconc'd later on; reverts 2009-11-11 change. Fixes: debbugs:13331
This commit is contained in:
parent
ad235a8b88
commit
ed5bdeb968
@ -1,5 +1,8 @@
|
||||
2013-01-03 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* subr.el (eval-after-load): Don't purecopy the form, so that it
|
||||
can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
|
||||
|
||||
* emacs-lisp/byte-run.el (defun): Place cl declarations
|
||||
after any interactive spec. (Bug#13265)
|
||||
|
||||
|
@ -1877,7 +1877,7 @@ This function makes or adds to an entry on `after-load-alist'."
|
||||
,form)))
|
||||
;; Add FORM to the element unless it's already there.
|
||||
(unless (member form (cdr elt))
|
||||
(nconc elt (purecopy (list form)))))))
|
||||
(nconc elt (list form))))))
|
||||
|
||||
(defvar after-load-functions nil
|
||||
"Special hook run after loading a file.
|
||||
|
Loading…
Reference in New Issue
Block a user