]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/cmds.c (Fself_insert_command): Don't call XFASTINT without checking
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Nov 2010 21:11:17 +0000 (16:11 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 11 Nov 2010 21:11:17 +0000 (16:11 -0500)
it's not negative.

src/ChangeLog
src/cmds.c

index 9804d57a9cfadf7b6b71dc72902f7728b3aa922d..902570f804f0513a8bb543b6d08f3b55bf159498 100644 (file)
@@ -1,3 +1,8 @@
+2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * cmds.c (Fself_insert_command): Don't call XFASTINT without checking
+       it's not negative.
+
 2010-11-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * font.c (font_filter_properties): Add const to array elements of
index 2d0814abd988ad1b98bbdf2caf6bdc8554be5fb6..b2f454199f5ae692b937676b5365198a18a056b1 100644 (file)
@@ -276,7 +276,7 @@ After insertion, the value of `auto-fill-function' is called if the
   (Lisp_Object n)
 {
   int remove_boundary = 1;
-  CHECK_NUMBER (n);
+  CHECK_NATNUM (n);
 
   if (!EQ (Vthis_command, current_kboard->Vlast_command))
     nonundocount = 0;