branch: externals/transient commit cc16a5eaa73617a281b0bbf71b24432c38994e30 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
transient-{,base-}map: Mention related keymaps in doc-string --- lisp/transient.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lisp/transient.el b/lisp/transient.el index 9d9b962..31f2f17 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -1394,7 +1394,10 @@ of the transient-specific keymaps), `transient-edit-map' and If you change a binding here, then you might also have to edit `transient-sticky-map' and `transient-common-commands'. While the latter isn't a proper transient prefix command, it can be -edited using the same functions as used for transients.") +edited using the same functions as used for transients. + +If you add a new command here, then you must also add a binding +to `transient-predicate-map'.") (defvar transient-map (let ((map (make-sparse-keymap))) @@ -1408,7 +1411,10 @@ edited using the same functions as used for transients.") (define-key map (kbd "C-M-p") 'transient-history-prev) (define-key map (kbd "C-M-n") 'transient-history-next) map) - "Top-level keymap used by all transients.") + "Top-level keymap used by all transients. + +If you add a new command here, then you must also add a binding +to `transient-predicate-map'. Also see `transient-base-map'.") (defvar transient-edit-map (let ((map (make-sparse-keymap)))