aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDmitry Antipov2014-02-10 09:41:42 +0400
committerDmitry Antipov2014-02-10 09:41:42 +0400
commitc67955902ea6422b161245d240d702ddb3bcc722 (patch)
tree89796105c8b6ba40a520bfc6934b46a1232acbbb /src
parent6abe458993df450de8361c6cab3cf89e8c89c962 (diff)
downloademacs-c67955902ea6422b161245d240d702ddb3bcc722.tar.gz
emacs-c67955902ea6422b161245d240d702ddb3bcc722.zip
* cmds.c (Fself_insert_command): Respect the width of EMACS_INT
and avoid warning.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/cmds.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 399138a1d80..a0b7c449b95 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-02-10 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * cmds.c (Fself_insert_command): Respect the width of EMACS_INT
4 and avoid warning.
5
12014-02-09 Lars Ingebrigtsen <larsi@gnus.org> 62014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2 7
3 * cmds.c (Fself_insert_command): Output a clearer error message on 8 * 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'. */)
280 CHECK_NUMBER (n); 280 CHECK_NUMBER (n);
281 281
282 if (XFASTINT (n) < 1) 282 if (XFASTINT (n) < 1)
283 error ("Repetition argument is %d, but must be higher than 0.", 283 error ("Repetition argument is %"pI"d, but must be higher than 0.",
284 XFASTINT (n)); 284 XFASTINT (n));
285 285
286 if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command))) 286 if (!EQ (Vthis_command, KVAR (current_kboard, Vlast_command)))