Emacs: Set smex variables before calling smex-initialize
Alan Pearce alan@alanpearce.co.uk
Sun, 29 Sep 2013 20:15:50 +0100
1 files changed, 5 insertions(+), 4 deletions(-)
jump to
M emacs/init.el → emacs/init.el
@@ -569,16 +569,17 @@ ("<menu>" . smex) ("M-X" . smex-major-mode-commands) ("C-c M-x" . execute-extended-command)) :config (progn - (setq smex-history-length 100 - smex-save-file (concat user-emacs-directory - "smex-items")) (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)) - :init (smex-initialize)) + :init (progn + (setq smex-history-length 100 + smex-save-file (concat user-emacs-directory + "smex-items")) + (smex-initialize))) ;;;; Modeline