diff --git a/emacs/init.org b/emacs/init.org index 988c875..dc872e8 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -1307,7 +1307,8 @@ A function to properly clear the eshell: (eshell-emit-prompt) (insert input))) - (general-def eshell-mode-map "C-c C-o" #'clear-eshell) + (with-eval-after-load 'eshell + (general-def eshell-mode-map "C-c C-o" #'clear-eshell)) #+END_SRC Some aliases: