From c0b1db9dd382dfa75980888433936645ac17bf97 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 2 Sep 2013 09:32:58 +0100 Subject: Emacs: initialise smex on startup for faster usage --- emacs/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs/init.el') diff --git a/emacs/init.el b/emacs/init.el index 2d80bc81..337d6630 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -559,13 +559,13 @@ Values: `desktop', `server', `laptop'") (setq smex-history-length 100 smex-save-file (concat user-emacs-directory "smex-items")) - (smex-initialize) (setq smex-key-advice-ignore-menu-bar t smex-auto-update nil) (defun smex-update-after-load (unused) (if (boundp 'smex-cache) (smex-update))) - (add-hook 'after-load-functions 'smex-update-after-load))) + (add-hook 'after-load-functions 'smex-update-after-load)) + :init (smex-initialize)) ;;;; Modeline -- cgit 1.4.1