diff options
-rw-r--r-- | init-settings.el | 1 | ||||
-rw-r--r-- | init.el | 8 |
2 files changed, 4 insertions, 5 deletions
diff --git a/init-settings.el b/init-settings.el index 6388a88ce377..4aaaa622f220 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 d5455f27dd22..e0a77094541d 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)) |