[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
- Explanation Request for the Function set-transient-map in subr.el, xenodasein, 2021/11/11
- Re: Explanation Request for the Function set-transient-map in subr.el, Stefan Monnier, 2021/11/12
- FWD: Explanation Request for the Function set-transient-map in subr.el, xenodasein, 2021/11/14
- Re: FWD: Explanation Request for the Function set-transient-map in subr.el, xenodasein, 2021/11/14
- Re: Explanation Request for the Function set-transient-map in subr.el, xenodasein, 2021/11/28
- Re: Explanation Request for the Function set-transient-map in subr.el, xenodasein, 2021/11/28
- Re: Explanation Request for the Function set-transient-map in subr.el, xenodasein, 2021/11/28
- Re: Explanation Request for the Function set-transient-map in subr.el, Michael Heerdegen, 2021/11/29