diff options
author | Alan Pearce | 2017-08-04 15:29:27 +0200 |
---|---|---|
committer | Alan Pearce | 2017-08-04 15:29:27 +0200 |
commit | 14a8c8a386663a969f72fbd6cfb67ea0f475c43c (patch) | |
tree | b22b23efe308e9706e6a556c20b7b547e5bf5adf /emacs/.emacs.d/init.el | |
parent | 75a8eebea057167476ca9cb1653524b20760868d (diff) | |
download | nixfiles-14a8c8a386663a969f72fbd6cfb67ea0f475c43c.tar.lz nixfiles-14a8c8a386663a969f72fbd6cfb67ea0f475c43c.tar.zst nixfiles-14a8c8a386663a969f72fbd6cfb67ea0f475c43c.zip |
Emacs: Fix startup issue opening encrypted config
Diffstat (limited to 'emacs/.emacs.d/init.el')
-rw-r--r-- | emacs/.emacs.d/init.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index d6f5a82b..924100a6 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 |