summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 137e298cd84..adcbd94744e 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))))