diff --git a/init-settings.el b/init-settings.el index 6388a88ce..4aaaa622f 100644 --- a/init-settings.el +++ b/init-settings.el @@ -50,6 +50,7 @@ (add-hook 'after-init-hook 'sml/setup)) (setq smex-save-file (concat user-emacs-directory ".smex-items")) +(setq smex-key-advice-ignore-menu-bar t) (smex-initialize) (global-set-key (kbd "M-x") 'smex) diff --git a/init.el b/init.el index d5455f27d..e0a770945 100644 --- a/init.el +++ b/init.el @@ -12,11 +12,10 @@ ;; precendence. (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) +;; And load things! +(package-refresh-contents) (package-initialize) -(when (not package-archive-contents) - (package-refresh-contents)) - (defvar my-pkgs '(; Basic functionality ace-jump-mode @@ -57,8 +56,7 @@ evil-paredit key-chord surround) - "Evil related packages" -) + "Evil related packages") (dolist (p my-pkgs) (when (not (package-installed-p p))