diff options
author | Alan Pearce | 2014-09-06 12:54:29 +0100 |
---|---|---|
committer | Alan Pearce | 2014-09-06 12:54:29 +0100 |
commit | 026c476e282515694ab475954488ae28ce661d47 (patch) | |
tree | 813dc451262a8495b70cb5941e88a7d3c05253b4 | |
parent | 7a9efc6c9276733b0496725725448445e4420f82 (diff) | |
download | dotfiles-026c476e282515694ab475954488ae28ce661d47.tar.lz dotfiles-026c476e282515694ab475954488ae28ce661d47.tar.zst dotfiles-026c476e282515694ab475954488ae28ce661d47.zip |
Emacs: Fix startup error from eshell keybind
Really weird that I needed to bind the key inside a hook, anything else seemed to get evaluated before eshell was loaded
-rw-r--r-- | tag-emacs/emacs.d/init.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index e679f74..4fc9a70 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -942,6 +942,8 @@ mouse-1: Display Line and Column Mode Menu")))))) :bind ("C-c s" . eshell) :config (progn (setq eshell-directory-name "~/.emacs.d/eshell") + (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 |