diff options
author | 2016-11-09 14:58:56 +0100 | |
---|---|---|
committer | 2016-11-09 14:58:56 +0100 | |
commit | c8f73dedb2a9796a07305a1d4f798b5041963816 (patch) | |
tree | c7a8c18104e5cbfe5e6bf8fb4ea15bb582386725 /emacs/.emacs.d/init/oni-eshell-init.org | |
parent | 7f1573b91ab772f9d08880759860093286de8747 (diff) | |
download | new-dotfiles-c8f73dedb2a9796a07305a1d4f798b5041963816.tar.gz new-dotfiles-c8f73dedb2a9796a07305a1d4f798b5041963816.zip |
Fix eshell keybinding
For some reason the ‘eshell-mode-map’ isn’t defined the first time the
‘eshell-load-hook’ runs.
Diffstat (limited to 'emacs/.emacs.d/init/oni-eshell-init.org')
-rw-r--r-- | emacs/.emacs.d/init/oni-eshell-init.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init/oni-eshell-init.org b/emacs/.emacs.d/init/oni-eshell-init.org index e9629b4..b3c6391 100644 --- a/emacs/.emacs.d/init/oni-eshell-init.org +++ b/emacs/.emacs.d/init/oni-eshell-init.org @@ -42,5 +42,5 @@ buffer. (defun oni:set-eshell-C-d () (define-key eshell-mode-map (kbd "C-d") #'oni:eshell-C-d)) - (add-hook 'eshell-load-hook #'oni:set-eshell-C-d) + (add-hook 'eshell-first-time-mode-hook #'oni:set-eshell-C-d) #+END_SRC |