|
From: | clemera |
Subject: | bug#45177: 27.1; Access to invoking top level command in minibuffer |
Date: | Sat, 12 Dec 2020 14:31:07 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
Hm... I'm not quite sure "the top level command" is a well-defined concept? You can enter a number of nested recursive edits, and I think what you probably want is the innermost command that invoked a recursive edit?
Yes, that would be ideal.
So perhaps it would make sense for Frecursive_edit (or some other handy function when entering the minibuffer) to let-bind a new variable (say, `this-recursive-command'?) to the value of `real-this-command'?
I don't know anything about the C side of Emacs so I can't be of any help here.
[Prev in Thread] | Current Thread | [Next in Thread] |