emacs-diffs
[Top][All Lists]
Advanced

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

master 3806797: Bind current-minibuffer-command to this-command


From: Lars Ingebrigtsen
Subject: master 3806797: Bind current-minibuffer-command to this-command
Date: Tue, 15 Dec 2020 01:18:55 -0500 (EST)

branch: master
commit 3806797583a22ad520e64f7fc35d893840f0d563
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Bind current-minibuffer-command to this-command
    
    * src/callint.c (Fcall_interactively): Bind
    current-minibuffer-command to this-command, as documented (bug#45177).
---
 src/callint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/callint.c b/src/callint.c
index a221705..d172af9 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -286,7 +286,7 @@ invoke it (via an `interactive' spec that contains, for 
instance, an
   /* Bound recursively so that code can check the current command from
      code running from minibuffer hooks (and the like), without being
      overwritten by subsequent minibuffer calls.  */
-  specbind (Qcurrent_minibuffer_command, Vreal_this_command);
+  specbind (Qcurrent_minibuffer_command, Vthis_command);
 
   if (NILP (keys))
     keys = this_command_keys, key_count = this_command_key_count;



reply via email to

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