Ignore key-advice from menu-bar options

This commit is contained in:
Vincent Ambo 2014-01-07 14:54:32 +01:00
parent a9acb7f560
commit 490ea14fad
2 changed files with 4 additions and 5 deletions

View file

@ -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)

View file

@ -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))