diff options
| author | Louai Al-Khanji <louai@astranis.com> | 2023-06-22 13:16:40 -0700 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2023-07-11 14:03:02 +0200 |
| commit | f04b3c790d59103a4145066de747dc9a6df6b325 (patch) | |
| tree | 843593d4e023edd5151d17f62cc1eb5b2a9f2bb4 /docs/with-editor.org | |
| parent | 9e437353ee817b8e6a9ffce53e37fe5a6fcb4294 (diff) | |
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'.
Diffstat (limited to 'docs/with-editor.org')
| -rw-r--r-- | docs/with-editor.org | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/with-editor.org b/docs/with-editor.org index 0df74ca..ee624c9 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: |
