emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/editfns.c,v


From: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/src/editfns.c,v
Date: Fri, 16 Feb 2007 13:18:30 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Andreas Schwab <schwab> 07/02/16 13:18:30

Index: editfns.c
===================================================================
RCS file: /sources/emacs/emacs/src/editfns.c,v
retrieving revision 1.433
retrieving revision 1.434
diff -u -b -r1.433 -r1.434
--- editfns.c   23 Jan 2007 13:15:08 -0000      1.433
+++ editfns.c   16 Feb 2007 13:18:29 -0000      1.434
@@ -3396,7 +3396,7 @@
 
 The basic structure of a %-sequence is
   % <flags> <width> <precision> character
-where flags is [- #0]+, width is [0-9]+, and precision is .[0-9]+
+where flags is [-+ #0]+, width is [0-9]+, and precision is .[0-9]+
 
 usage: (format STRING &rest OBJECTS)  */)
      (nargs, args)
@@ -3509,7 +3509,7 @@
 
           where
 
-          flags        ::= [- #0]+
+          flags        ::= [-+ #0]+
           field-width  ::= [0-9]+
           precision    ::= '.' [0-9]*
 
@@ -3523,7 +3523,7 @@
 
        while (format != end
               && (*format == '-' || *format == '0' || *format == '#'
-                  || * format == ' '))
+                  || * format == ' ' || *format == '+'))
          ++format;
 
        if (*format >= '0' && *format <= '9')
@@ -3700,7 +3700,7 @@
          discarded[format - format_start] = 1;
          format++;
 
-         while (index("-0# ", *format))
+         while (index("-+0# ", *format))
            {
              if (*format == '-')
                {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]