Mercurial > hg > xemacs-beta
diff src/cmds.c @ 5438:8d29f1c4bb98
Merge with 21.5 trunk.
author | Mats Lidell <matsl@xemacs.org> |
---|---|
date | Fri, 26 Nov 2010 06:43:36 +0100 |
parents | 308d34e9f07d c096d8051f89 |
children | 56144c8593a8 |
line wrap: on
line diff
--- a/src/cmds.c Mon Nov 15 22:33:52 2010 +0100 +++ b/src/cmds.c Fri Nov 26 06:43:36 2010 +0100 @@ -332,7 +332,9 @@ Lisp_Object c; EMACS_INT n; - CHECK_NATNUM (count); + /* Can't insert more than most-positive-fixnum characters, the buffer + won't hold that many. */ + check_integer_range (count, Qzero, make_int (EMACS_INT_MAX)); n = XINT (count); if (CHAR_OR_CHAR_INTP (Vlast_command_char))