aboutsummaryrefslogtreecommitdiff
path: root/emacs/settings/init-evil.el
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2016-11-17 13:18:40 +0100
committerMiquel Sabaté Solà <msabate@suse.com>2016-11-17 13:18:40 +0100
commit5752d4ada92dde3c5a7433fdd205f08d753b0cec (patch)
treecc570deee5554b370b2bd7db0291b15e400bbee1 /emacs/settings/init-evil.el
parent44a504dc3c8e6171dc066b2c19b7769525388896 (diff)
downloaddotfiles-5752d4ada92dde3c5a7433fdd205f08d753b0cec.tar.gz
dotfiles-5752d4ada92dde3c5a7433fdd205f08d753b0cec.zip
emacs: eval-after-load -> with-eval-after-load
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to 'emacs/settings/init-evil.el')
-rw-r--r--emacs/settings/init-evil.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/emacs/settings/init-evil.el b/emacs/settings/init-evil.el
index d0e8e91..49c8c48 100644
--- a/emacs/settings/init-evil.el
+++ b/emacs/settings/init-evil.el
@@ -44,10 +44,9 @@
(fset 'help-command help-map)
; Helm + Projectile shortcuts.
- (eval-after-load 'helm-projectile
- '(progn
- (define-key evil-normal-state-map (kbd "M-p")
- 'helm-projectile-switch-project)))
+ (with-eval-after-load 'helm-projectile
+ (define-key evil-normal-state-map (kbd "M-p")
+ 'helm-projectile-switch-project))
; I use the Super key in combination with j & k to move around i3. Let's unset
; M- combos for these two fellows for whenever I misstype them.