[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat 94e56712e3 3/3: ; * README.org (Usage): Fix Eshell ins
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat 94e56712e3 3/3: ; * README.org (Usage): Fix Eshell instructions |
Date: |
Fri, 9 Dec 2022 15:58:44 -0500 (EST) |
branch: elpa/eat
commit 94e56712e39e2228da786c0ce1f3344789fcf9bd
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
; * README.org (Usage): Fix Eshell instructions
---
README.org | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
index 35b3327a81..9d17135abc 100644
--- a/README.org
+++ b/README.org
@@ -52,16 +52,14 @@ with Eshell. Eat has two global minor modes for Eshell:
the above three keybinding modes here too, except that =C-c C-k= is
not special (i.e. not bound by Eat) in "emacs" mode and "line" mode.
-You can add any of these to ~eshell-first-time-mode-hook~ like the
-following:
+You can add any of these to ~eshell-load-hook~ like the following:
#+begin_src emacs-lisp
-;; For `eat-eshell-visual-command-mode'.
-(add-hook 'eshell-first-time-mode-hook
- #'eat-eshell-visual-command-mode)
-
;; For `eat-eshell-mode'.
-(add-hook 'eshell-first-time-mode-hook #'eat-eshell-mode)
+(add-hook 'eshell-load-hook #'eat-eshell-mode)
+
+;; For `eat-eshell-visual-command-mode'.
+(add-hook 'eshell-load-hook #'eat-eshell-visual-command-mode)
#+end_src
To setup shell integration for GNU Bash, put the following at the end