Skip to content

Commit e7cae38

Browse files
committed
transient--quit-kludge: Add comment
1 parent b17dfd7 commit e7cae38

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lisp/transient.el

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3289,7 +3289,11 @@ identifying the exit."
32893289
(transient--post-exit this-command)))
32903290

32913291
(defun transient--quit-kludge (action)
3292-
(static-if (boundp 'redisplay-can-quit) ;Emacs 31
3292+
;; Fixing the bug that makes this kludge necessary was proposed in
3293+
;; https://yhetil.org/emacs-bugs/[email protected]/, but it
3294+
;; does not look like that's gonna be merged any time soon. See also
3295+
;; https://github.com/magit/transient/commit/45fbefdc5b112f0a15cd9365.
3296+
(static-if (boundp 'redisplay-can-quit)
32933297
action
32943298
(pcase-exhaustive action
32953299
('enable

0 commit comments

Comments
 (0)