From e655a41029739ed06f976e6d84ecd9b36732adb6 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Mon, 30 May 2016 15:29:33 +0900 Subject: [PATCH] Remove some load on start --- emacs.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index bd73a17..75ee48a 100644 --- a/emacs.el +++ b/emacs.el @@ -1053,7 +1053,7 @@ found, otherwise returns nil." (add-hook 'haskell-mode-hook 'turn-on-haskell-indentation) -(when (safe-require-or-eval 'uniquify) +(with-eval-after-load 'uniquify (setq uniquify-buffer-name-style 'post-forward-angle-brackets) (setq uniquify-ignore-buffers-re "*[^*]+*") (setq uniquify-min-dir-content 1)) @@ -1549,7 +1549,7 @@ the list." ;; reuse current dired buffer for the file to open (set-variable 'dired-ls-F-marks-symlinks t) -(when (safe-require-or-eval 'ls-lisp) +(with-eval-after-load 'ls-lisp (setq ls-lisp-use-insert-directory-program nil) ; always use ls-lisp (setq ls-lisp-dirs-first t) (setq ls-lisp-use-localized-time-format t)