diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index bf5643dba06..7264ca599b9 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -7251,7 +7251,8 @@ DEFUN ("execute-extended-command", Fexecute_extended_command, Sexecute_extended_ | |||
| 7251 | value = Fcommand_execute (function, Qt, Qnil, Qnil); | 7251 | value = Fcommand_execute (function, Qt, Qnil, Qnil); |
| 7252 | 7252 | ||
| 7253 | /* If the command has a key binding, print it now. */ | 7253 | /* If the command has a key binding, print it now. */ |
| 7254 | if (!NILP (bindings)) | 7254 | if (!NILP (bindings) |
| 7255 | && ! (ARRAYP (bindings) && EQ (Faref (bindings), Qmouse_movement))) | ||
| 7255 | { | 7256 | { |
| 7256 | /* But first wait, and skip the message if there is input. */ | 7257 | /* But first wait, and skip the message if there is input. */ |
| 7257 | if (!NILP (Fsit_for ((NUMBERP (Vsuggest_key_bindings) | 7258 | if (!NILP (Fsit_for ((NUMBERP (Vsuggest_key_bindings) |
| @@ -7270,7 +7271,7 @@ DEFUN ("execute-extended-command", Fexecute_extended_command, Sexecute_extended_ | |||
| 7270 | = (char *) alloca (XSYMBOL (function)->name->size | 7271 | = (char *) alloca (XSYMBOL (function)->name->size |
| 7271 | + XSTRING (binding)->size | 7272 | + XSTRING (binding)->size |
| 7272 | + 100); | 7273 | + 100); |
| 7273 | sprintf (newmessage, "You can run the command `%s' by typing %s", | 7274 | sprintf (newmessage, "You can run the command `%s' with %s", |
| 7274 | XSYMBOL (function)->name->data, | 7275 | XSYMBOL (function)->name->data, |
| 7275 | XSTRING (binding)->data); | 7276 | XSTRING (binding)->data); |
| 7276 | message1_nolog (newmessage); | 7277 | message1_nolog (newmessage); |