projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8420d7c
)
Tweak remapping fix for set-transient-map
author
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 24 May 2022 12:54:40 +0000
(14:54 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 24 May 2022 12:55:03 +0000
(14:55 +0200)
* lisp/subr.el (set-transient-map): The remapping doesn't have to
be in this map.
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index 137e298cd84ab6f0f3a962df53ed647738cf89b7..adcbd94744edbeaeff8e0b2c8195b0e0af4a9288 100644
(file)
--- 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))))