all repos — nixfiles @ 14a8c8a386663a969f72fbd6cfb67ea0f475c43c

System and user configuration, managed by nix and home-manager

Emacs: Fix startup issue opening encrypted config
Alan Pearce alan@alanpearce.eu
Fri, 04 Aug 2017 15:29:27 +0200
commit

14a8c8a386663a969f72fbd6cfb67ea0f475c43c

parent

75a8eebea057167476ca9cb1653524b20760868d

1 files changed, 2 insertions(+), 5 deletions(-)

jump to
M emacs/.emacs.d/init.elemacs/.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