Emacs: Fix startup issue opening encrypted config
Alan Pearce alan@alanpearce.eu
Fri, 04 Aug 2017 15:29:27 +0200
1 files changed, 2 insertions(+), 5 deletions(-)
jump to
M emacs/.emacs.d/init.el → emacs/.emacs.d/init.el
@@ -15,12 +15,9 @@ (put 'inhibit-startup-echo-area-message 'saved-value (setq inhibit-startup-echo-area-message (user-login-name))) (setq inhibit-startup-screen t) (setq gc-cons-threshold 100000000) -(defvar file-name-handler-alist-backup file-name-handler-alist) -(setq file-name-handler-alist nil) (add-hook 'after-init-hook - #'(lambda () - (setq gc-cons-threshold 800000 - file-name-handler-alist file-name-handler-alist-backup))) + (lambda () + (setq gc-cons-threshold 800000))) (remove-hook 'find-file-hooks #'vc-refresh-state) ;; #+END_SRC