From: Dmitry Antipov Date: Mon, 10 Feb 2014 05:41:42 +0000 (+0400) Subject: * cmds.c (Fself_insert_command): Respect the width of EMACS_INT X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~51 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c67955902ea6422b161245d240d702ddb3bcc722;p=emacs.git * cmds.c (Fself_insert_command): Respect the width of EMACS_INT and avoid warning. --- diff --git a/src/ChangeLog b/src/ChangeLog index 399138a1d80..a0b7c449b95 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-02-10 Dmitry Antipov + + * cmds.c (Fself_insert_command): Respect the width of EMACS_INT + and avoid warning. + 2014-02-09 Lars Ingebrigtsen * cmds.c (Fself_insert_command): Output a clearer error message on diff --git a/src/cmds.c b/src/cmds.c index 29c574abb14..03ce54c8ee4 100644 --- a/src/cmds.c +++ b/src/cmds.c @@ -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)))