summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2019-12-04 19:12:47 +0100
committerAlan Pearce2019-12-04 19:12:47 +0100
commitab0e8c29b11cb35e164ff3be5eb50fee74a92644 (patch)
tree06f6891c0c75e93e420d08b4bf74e1354460486e /user
parent7328eaf348e0dc8ca65150de91999abe91d5ef6c (diff)
downloadnixfiles-ab0e8c29b11cb35e164ff3be5eb50fee74a92644.tar.lz
nixfiles-ab0e8c29b11cb35e164ff3be5eb50fee74a92644.tar.zst
nixfiles-ab0e8c29b11cb35e164ff3be5eb50fee74a92644.zip
Emacs: Fix init errors in eshell configuration
Diffstat (limited to 'user')
-rw-r--r--user/emacs/.emacs.d/init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index e6051c5a..10312ec5 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -280,7 +280,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :config (progn
             (setq-default evil-shift-width 2)
             (setq evil-mode-line-format nil)
-            (add-to-list 'evil-emacs-state-modes eshell-mode)
+            (add-to-list 'evil-emacs-state-modes 'eshell-mode)
             (evil-mode +1))
   :general
   (:states 'motion
@@ -562,7 +562,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 (use-package eshell-toggle
   :after projectile
   :commands (eshell-toggle)
-  :bind ("C-`" . eshell-toggle)
+  :general ("C-`" . eshell-toggle)
   :config (setq eshell-toggle-use-projectile-root t))
 
 (use-package esh-autosuggest