# HG changeset patch # User Karl Heuer # Date 879732935 0 # Node ID 3f3e7319341a55f760b6ccd1781973d3bc4a876d # Parent ca337d0a155380890f6f49a859e2d2eaeddf665c (Fexecute_extended_command): Fix message wording. Don't print a message for a binding for mouse-movement. diff -r ca337d0a1553 -r 3f3e7319341a src/keyboard.c --- a/src/keyboard.c Mon Nov 17 01:59:28 1997 +0000 +++ b/src/keyboard.c Mon Nov 17 02:15:35 1997 +0000 @@ -7251,7 +7251,8 @@ value = Fcommand_execute (function, Qt, Qnil, Qnil); /* If the command has a key binding, print it now. */ - if (!NILP (bindings)) + if (!NILP (bindings) + && ! (ARRAYP (bindings) && EQ (Faref (bindings), Qmouse_movement))) { /* But first wait, and skip the message if there is input. */ if (!NILP (Fsit_for ((NUMBERP (Vsuggest_key_bindings) @@ -7270,7 +7271,7 @@ = (char *) alloca (XSYMBOL (function)->name->size + XSTRING (binding)->size + 100); - sprintf (newmessage, "You can run the command `%s' by typing %s", + sprintf (newmessage, "You can run the command `%s' with %s", XSYMBOL (function)->name->data, XSTRING (binding)->data); message1_nolog (newmessage);