[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102347: * src/cmds.c (Fself_insert_c
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102347: * src/cmds.c (Fself_insert_command): Don't call XFASTINT without checking |
Date: |
Thu, 11 Nov 2010 16:11:17 -0500 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102347
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Thu 2010-11-11 16:11:17 -0500
message:
* src/cmds.c (Fself_insert_command): Don't call XFASTINT without checking
it's not negative.
modified:
src/ChangeLog
src/cmds.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-11-10 09:02:54 +0000
+++ b/src/ChangeLog 2010-11-11 21:11:17 +0000
@@ -1,3 +1,8 @@
+2010-11-11 Stefan Monnier <address@hidden>
+
+ * cmds.c (Fself_insert_command): Don't call XFASTINT without checking
+ it's not negative.
+
2010-11-10 YAMAMOTO Mitsuharu <address@hidden>
* font.c (font_filter_properties): Add const to array elements of
=== modified file 'src/cmds.c'
--- a/src/cmds.c 2010-10-26 18:47:19 +0000
+++ b/src/cmds.c 2010-11-11 21:11:17 +0000
@@ -276,7 +276,7 @@
(Lisp_Object n)
{
int remove_boundary = 1;
- CHECK_NUMBER (n);
+ CHECK_NATNUM (n);
if (!EQ (Vthis_command, current_kboard->Vlast_command))
nonundocount = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102347: * src/cmds.c (Fself_insert_command): Don't call XFASTINT without checking,
Stefan Monnier <=