[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/with-editor f04b3c790d 1/2: manual: Fix name of vterm's ho
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/with-editor f04b3c790d 1/2: manual: Fix name of vterm's hook |
Date: |
Tue, 11 Jul 2023 10:01:18 -0400 (EDT) |
branch: elpa/with-editor
commit f04b3c790d59103a4145066de747dc9a6df6b325
Author: Louai Al-Khanji <louai@astranis.com>
Commit: Jonas Bernoulli <jonas@bernoul.li>
manual: Fix name of vterm's hook
This seems to work properly only with `vterm-mode-hook',
not with `vterm-exec-hook'. "with-editor.el" correctly
mentions `vterm-mode-hook', but the documentation
referred to `vterm-exec-hook'.
---
docs/with-editor.org | 2 +-
docs/with-editor.texi | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/with-editor.org b/docs/with-editor.org
index 0df74ca420..ee624c9f47 100644
--- a/docs/with-editor.org
+++ b/docs/with-editor.org
@@ -187,7 +187,7 @@ mode hooks:
(add-hook 'shell-mode-hook 'with-editor-export-editor)
(add-hook 'eshell-mode-hook 'with-editor-export-editor)
(add-hook 'term-exec-hook 'with-editor-export-editor)
- (add-hook 'vterm-exec-hook 'with-editor-export-editor)
+ (add-hook 'vterm-mode-hook 'with-editor-export-editor)
#+end_src
Some variants of this function exist; these two forms are equivalent:
diff --git a/docs/with-editor.texi b/docs/with-editor.texi
index feceb2e4e7..d834045a81 100644
--- a/docs/with-editor.texi
+++ b/docs/with-editor.texi
@@ -247,7 +247,7 @@ mode hooks:
(add-hook 'shell-mode-hook 'with-editor-export-editor)
(add-hook 'eshell-mode-hook 'with-editor-export-editor)
(add-hook 'term-exec-hook 'with-editor-export-editor)
-(add-hook 'vterm-exec-hook 'with-editor-export-editor)
+(add-hook 'vterm-mode-hook 'with-editor-export-editor)
@end lisp
Some variants of this function exist; these two forms are equivalent: