[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master be17333ace 2/2: Tweak remapping fix for set-transient-map
From: |
Lars Ingebrigtsen |
Subject: |
master be17333ace 2/2: Tweak remapping fix for set-transient-map |
Date: |
Tue, 24 May 2022 08:55:09 -0400 (EDT) |
branch: master
commit be17333acee2086d1c729197dfe64432f6ad6625
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Tweak remapping fix for set-transient-map
* lisp/subr.el (set-transient-map): The remapping doesn't have to
be in this map.
---
lisp/subr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 137e298cd8..adcbd94744 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -6052,7 +6052,7 @@ to deactivate this transient map, regardless of
KEEP-PRED."
;; We may have a remapped command, so chase
;; down that.
(when (and mc (symbolp mc))
- (setq mc (or (command-remapping mc nil map) mc)))
+ (setq mc (or (command-remapping mc) mc)))
;; If the key is unbound `this-command` is
;; nil and so is `mc`.
(and mc (eq this-command mc))))