aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2020-12-15 07:18:03 +0100
committerLars Ingebrigtsen2020-12-15 07:18:03 +0100
commit3806797583a22ad520e64f7fc35d893840f0d563 (patch)
tree5b7bc5ac716009a4100108da1ec151508a6ba512 /src
parentfd4297b25a61b33340ef312355748512e702bc2c (diff)
downloademacs-3806797583a22ad520e64f7fc35d893840f0d563.tar.gz
emacs-3806797583a22ad520e64f7fc35d893840f0d563.zip
Bind current-minibuffer-command to this-command
* src/callint.c (Fcall_interactively): Bind current-minibuffer-command to this-command, as documented (bug#45177).
Diffstat (limited to 'src')
-rw-r--r--src/callint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callint.c b/src/callint.c
index a221705f676..d172af9e30b 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -286,7 +286,7 @@ invoke it (via an `interactive' spec that contains, for instance, an
286 /* Bound recursively so that code can check the current command from 286 /* Bound recursively so that code can check the current command from
287 code running from minibuffer hooks (and the like), without being 287 code running from minibuffer hooks (and the like), without being
288 overwritten by subsequent minibuffer calls. */ 288 overwritten by subsequent minibuffer calls. */
289 specbind (Qcurrent_minibuffer_command, Vreal_this_command); 289 specbind (Qcurrent_minibuffer_command, Vthis_command);
290 290
291 if (NILP (keys)) 291 if (NILP (keys))
292 keys = this_command_keys, key_count = this_command_key_count; 292 keys = this_command_keys, key_count = this_command_key_count;