aboutsummaryrefslogtreecommitdiffstats
path: root/src/editfns.c
diff options
context:
space:
mode:
authorMiles Bader2005-09-25 22:07:01 +0000
committerMiles Bader2005-09-25 22:07:01 +0000
commit7b9dc9afcc06c9d5c3e3f75f3bb420d57cd1de12 (patch)
tree27ba66e7b5ca9a56ca0c0a76169249ee48337e6c /src/editfns.c
parent2f022b888f8e37778c13736539bd4434cc882eb2 (diff)
parent5fae1caef32374fffc256f7f92952398d226fff2 (diff)
downloademacs-7b9dc9afcc06c9d5c3e3f75f3bb420d57cd1de12.tar.gz
emacs-7b9dc9afcc06c9d5c3e3f75f3bb420d57cd1de12.zip
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-85
Merge from emacs--cvs-trunk--0 Patches applied: * emacs--cvs-trunk--0 (patch 556-561) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 122-124) - Update from CVS: lisp/mm-url.el (mm-url-decode-entities): Fix regexp. - Update from CVS
Diffstat (limited to 'src/editfns.c')
-rw-r--r--src/editfns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 3f33285bcfc..98828352375 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3556,7 +3556,9 @@ usage: (format STRING &rest OBJECTS) */)
3556 digits to print after the '.' for floats, or the max. 3556 digits to print after the '.' for floats, or the max.
3557 number of chars to print from a string. */ 3557 number of chars to print from a string. */
3558 3558
3559 while (*format && index ("-0# ", *format)) 3559 while (format != end
3560 && (*format == '-' || *format == '0' || *format == '#'
3561 || * format == ' '))
3560 ++format; 3562 ++format;
3561 3563
3562 if (*format >= '0' && *format <= '9') 3564 if (*format >= '0' && *format <= '9')