From 14a8c8a386663a969f72fbd6cfb67ea0f475c43c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 4 Aug 2017 15:29:27 +0200 Subject: Emacs: Fix startup issue opening encrypted config --- emacs/.emacs.d/init.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'emacs/.emacs.d') 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 -- cgit 1.4.1