* cmds.c (Fself_insert_command): Respect the width of EMACS_INT

and avoid warning.
This commit is contained in:
Dmitry Antipov 2014-02-10 09:41:42 +04:00
parent 6abe458993
commit c67955902e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2014-02-10 Dmitry Antipov <dmantipov@yandex.ru>
* cmds.c (Fself_insert_command): Respect the width of EMACS_INT
and avoid warning.
2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
* cmds.c (Fself_insert_command): Output a clearer error message on

View file

@ -280,7 +280,7 @@ At the end, it runs `post-self-insert-hook'. */)
CHECK_NUMBER (n);
if (XFASTINT (n) < 1)
error ("Repetition argument is %d, but must be higher than 0.",
error ("Repetition argument is %"pI"d, but must be higher than 0.",
XFASTINT (n));
if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command)))