From 026c476e282515694ab475954488ae28ce661d47 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 6 Sep 2014 12:54:29 +0100 Subject: 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 --- tag-emacs/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tag-emacs/emacs.d') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index e679f74d..4fc9a70a 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 -- cgit 1.4.1