summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-09-25 12:23:33 -0500
committerCase Duckworth2021-09-25 12:23:33 -0500
commit3618bc5b7dab82e89636c29b16b756a6ea0d82bf (patch)
treea692fd486c63a034a2b7b8132258ad5da53fe3ea
parentblehhaheoi (diff)
downloademacs-3618bc5b7dab82e89636c29b16b756a6ea0d82bf.tar.gz
emacs-3618bc5b7dab82e89636c29b16b756a6ea0d82bf.zip
Remove speed up
It makes bookmark.el.gz not able to load ??? for some reason???

something related to file-name-handler-alist
-rw-r--r--early-init.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/early-init.el b/early-init.el index c569cc5..eeb5e57 100644 --- a/early-init.el +++ b/early-init.el
@@ -24,23 +24,6 @@
24 load-path) 24 load-path)
25(require 'acdw) 25(require 'acdw)
26(require 'acdw-frame) 26(require 'acdw-frame)
27;;; Speed up init
28;; see doom-emacs, et al.
29
30(setq acdw/orig-file-name-handler-alist file-name-handler-alist
31 file-name-handler-alist nil
32 gc-cons-percentage 0.8
33 gc-cons-threshold most-positive-fixnum
34 load-prefer-newer noninteractive)
35
36(add-hook 'after-init-hook
37 (defun after-init@reset ()
38 "Reset `file-name-handler-alist' and garbage collection."
39 (setq gc-cons-percentage 0.1
40 gc-cons-threshold (* 800 1024 1024))
41 (dolist (handler file-name-handler-alist)
42 (add-to-list 'acdw/orig-file-name-handler-alist handler))
43 (setq file-name-handler-alist acdw/orig-file-name-handler-alist)))
44 27
45;;; Frame settings 28;;; Frame settings
46(setq default-frame-alist ; Remove most UI 29(setq default-frame-alist ; Remove most UI