summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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