|
From: | Lars Ingebrigtsen |
Subject: | bug#45177: 27.1; Access to invoking top level command in minibuffer |
Date: | Tue, 15 Dec 2020 07:18:39 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Clemens <clemera@posteo.net> writes: > Oh I just noticed it still points to real-this-command right? I was > mislead by the docs ;) My thought why `this-command` might have been > a good idea was that people might want to call commands from Elisp like this > > (let ((this-command 'my-cmd)) > (call-interactively 'my-cmd)) > > and then expect the configuration of the minibuffer applied by > Selectrum to apply. To make this work with real-this-command they > would need to bind that but it is discouraged I think? This is mostly > a consideration about what might happen in user code later. Good catch; I meant to change it to this-command, but I forgot to change it in the actual binding. Fixed now. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] | Current Thread | [Next in Thread] |