1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-15 19:31:29 -07:00

* lisp/loadup.el: No longer GC after loading each file

With the portable dumper it's no longer needed as discussed in
bug#79021.  Originally this was done for the unexec based dumping (see
bug#4287 and commit 0e328d3779).
This commit is contained in:
Helmut Eller 2026-03-13 15:35:05 +01:00
parent 4a81c87a7c
commit 0efb47d474

View file

@ -125,10 +125,6 @@
(load "subr")
(load "keymap")
;; Do it after subr, since both after-load-functions and add-hook are
;; implemented in subr.el.
(add-hook 'after-load-functions (lambda (_) (garbage-collect)))
(load "version")
(load "widget")
@ -498,8 +494,6 @@ lost after dumping")))
(set-buffer-modified-p nil)
(remove-hook 'after-load-functions (lambda (_) (garbage-collect)))
(if (boundp 'load--prefer-newer)
(progn
(setq load-prefer-newer load--prefer-newer)