From c885d12b540f4f378c25bdb12e00c0d639ac703e Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Tue, 21 Nov 2023 12:54:20 +0100 Subject: [PATCH] Move definition of transient-resume-mode-map --- lisp/transient.el | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/lisp/transient.el b/lisp/transient.el index 40063f8b..8966b488 100644 --- a/lisp/transient.el +++ b/lisp/transient.el @@ -1649,6 +1649,16 @@ See `transient-enable-popup-navigation'." "" #'transient-push-button "" #'transient-push-button) +(defvar-keymap transient-resume-mode-map + :doc "Keymap for `transient-resume-mode'. + +This keymap remaps every command that would usually just quit the +documentation buffer to `transient-resume', which additionally +resumes the suspended transient." + " " #'transient-resume + " " #'transient-resume + " " #'transient-resume) + (defvar-keymap transient-predicate-map :doc "Base keymap used to map common commands to their transient behavior. @@ -4032,16 +4042,6 @@ Suffixes on levels %s and %s are unavailable.\n" (propertize (format ">=%s" (1+ level)) 'face 'transient-disabled-suffix)))))) -(defvar-keymap transient-resume-mode-map - :doc "Keymap for `transient-resume-mode'. - -This keymap remaps every command that would usually just quit the -documentation buffer to `transient-resume', which additionally -resumes the suspended transient." - " " #'transient-resume - " " #'transient-resume - " " #'transient-resume) - (define-minor-mode transient-resume-mode "Auxiliary minor-mode used to resume a transient after viewing help.")