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

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

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


From: Stefan Monnier
Subject: Re: Explanation Request for the Function set-transient-map in subr.el
Date: Sun, 28 Nov 2021 16:07:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> But then, isn't that second expression redundant? Lookup key is already 
> looking
> in our transient map, if it succeeds mc will be non-nil and equal 
> this-command,
> if it does not, 'and' will return nil anyway?

It's somewhat redundant but tries to protect from cases where some other
keymap was used instead (presumably a keymap with higher precedence).


        Stefan




reply via email to

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