summaryrefslogtreecommitdiff
path: root/docs/with-editor.texi
diff options
context:
space:
mode:
Diffstat (limited to 'docs/with-editor.texi')
-rw-r--r--docs/with-editor.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/with-editor.texi b/docs/with-editor.texi
index feceb2e..d834045 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: