* 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user