help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Explanation Request for the Function set-transient-map in subr.el


From: xenodasein
Subject: Explanation Request for the Function set-transient-map in subr.el
Date: Thu, 11 Nov 2021 19:10:37 +0100 (CET)

What does this section do? In what situations this-command gets called using 
keys of the transient map but it is not equal to itself? What does mc mean?

((eq t keep-pred)
  (let ((mc (lookup-key map (this-command-keys-vector))))
  ;; If the key is unbound `this-command` is
  ;; nil and so is `mc`.
    (and mc (eq this-command mc))))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]