Remove speed up

It makes bookmark.el.gz not able to load ??? for some reason???

something related to file-name-handler-alist
This commit is contained in:
Case Duckworth 2021-09-25 12:23:33 -05:00
parent df207947ba
commit 3618bc5b7d
1 changed files with 0 additions and 17 deletions

View File

@ -24,23 +24,6 @@
load-path)
(require 'acdw)
(require 'acdw-frame)
;;; Speed up init
;; see doom-emacs, et al.
(setq acdw/orig-file-name-handler-alist file-name-handler-alist
file-name-handler-alist nil
gc-cons-percentage 0.8
gc-cons-threshold most-positive-fixnum
load-prefer-newer noninteractive)
(add-hook 'after-init-hook
(defun after-init@reset ()
"Reset `file-name-handler-alist' and garbage collection."
(setq gc-cons-percentage 0.1
gc-cons-threshold (* 800 1024 1024))
(dolist (handler file-name-handler-alist)
(add-to-list 'acdw/orig-file-name-handler-alist handler))
(setq file-name-handler-alist acdw/orig-file-name-handler-alist)))
;;; Frame settings
(setq default-frame-alist ; Remove most UI