summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-03-27 14:11:00 +0000
committerAlan Pearce2015-03-27 14:11:00 +0000
commit4b46b6cf7c314f724c6d2e77d3fa492e14da428c (patch)
tree6ebd118425ca640cd4ce2443e67907ae76c34eeb /tag-emacs
parent05c7485315107a70e4d7ad333f66954d08c5ceb8 (diff)
downloadnixfiles-4b46b6cf7c314f724c6d2e77d3fa492e14da428c.tar.lz
nixfiles-4b46b6cf7c314f724c6d2e77d3fa492e14da428c.tar.zst
nixfiles-4b46b6cf7c314f724c6d2e77d3fa492e14da428c.zip
Emacs: Fix eshell init
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 37b110e2..62581784 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -1033,11 +1033,11 @@ mouse-1: Display Line and Column Mode Menu"))))))
             (add-hook 'eshell-load-hook (lambda ()
                                           (bind-key "C-c C-l" #'helm-eshell-history eshell-mode-map)))
             (req-package em-smart
-              :init (progn
-                      (setq eshell-where-to-jump 'begin
-                            eshell-review-quick-commands nil
-                            eshell-smart-space-goes-to-end t)
-                      (eshell-smart-initialize)))))
+              :config (progn
+                        (setq eshell-where-to-jump 'begin
+                              eshell-review-quick-commands nil
+                              eshell-smart-space-goes-to-end t)
+                        (eshell-smart-initialize)))))
 
 (autoload #'eshell/cd "em-dirs")
 (defun eshell-goto-current-dir (&optional arg)