summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-08-04 15:29:27 +0200
committerAlan Pearce2017-08-04 15:29:27 +0200
commit14a8c8a386663a969f72fbd6cfb67ea0f475c43c (patch)
treeb22b23efe308e9706e6a556c20b7b547e5bf5adf /emacs
parent75a8eebea057167476ca9cb1653524b20760868d (diff)
downloaddotfiles-14a8c8a386663a969f72fbd6cfb67ea0f475c43c.tar.lz
dotfiles-14a8c8a386663a969f72fbd6cfb67ea0f475c43c.tar.zst
dotfiles-14a8c8a386663a969f72fbd6cfb67ea0f475c43c.zip
Emacs: Fix startup issue opening encrypted config
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index d6f5a82..924100a 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -15,12 +15,9 @@
      (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