diff options
| author | Lars Ingebrigtsen | 2020-12-15 07:18:03 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-12-15 07:18:03 +0100 |
| commit | 3806797583a22ad520e64f7fc35d893840f0d563 (patch) | |
| tree | 5b7bc5ac716009a4100108da1ec151508a6ba512 /src | |
| parent | fd4297b25a61b33340ef312355748512e702bc2c (diff) | |
| download | emacs-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.c | 2 |
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; |