diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-03-20 20:37:38 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-03-20 20:37:38 +0100 |
| commit | 55050b60da8b1c5efedf45c885e5e8daf26e2499 (patch) | |
| tree | 4c5cfea6b1ee6f0c43f6d722028f881e79ffe9e0 /docs | |
| parent | 52f737a696cad846d528a5a06e412f740a1de38a (diff) | |
transient-post-exit-hook: New hook
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/transient.org | 8 | ||||
| -rw-r--r-- | docs/transient.texi | 8 |
2 files changed, 14 insertions, 2 deletions
diff --git a/docs/transient.org b/docs/transient.org index f14929a..97a3f9e 100644 --- a/docs/transient.org +++ b/docs/transient.org @@ -802,7 +802,13 @@ These options are mainly intended for developers. - Variable: transient-exit-hook :: - This hook is run after a transient is exited. + This hook is run after a transient menu is exited, even if another + transient menu becomes active at the same time. + +- Variable: transient-post-exit-hook :: + + This hook is run after a transient menu is exited, provided no other + transient menu becomes active at the same time. - Variable: transient-setup-buffer-hook :: diff --git a/docs/transient.texi b/docs/transient.texi index 9c1723f..bb4100d 100644 --- a/docs/transient.texi +++ b/docs/transient.texi @@ -949,7 +949,13 @@ same customization. @subheading Hook Variables @defvar transient-exit-hook -This hook is run after a transient is exited. +This hook is run after a transient menu is exited, even if another +transient menu becomes active at the same time. +@end defvar + +@defvar transient-post-exit-hook +This hook is run after a transient menu is exited, provided no other +transient menu becomes active at the same time. @end defvar @defvar transient-setup-buffer-hook |
