changeset 75951:cc22dbc5d5a3

(Formatting Strings): Document '+' flag.
author Andreas Schwab <schwab@suse.de>
date Fri, 16 Feb 2007 13:21:44 +0000
parents f7b102b31618
children bf9581a17f60
files lispref/strings.texi
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/strings.texi	Fri Feb 16 13:20:39 2007 +0000
+++ b/lispref/strings.texi	Fri Feb 16 13:21:44 2007 +0000
@@ -887,9 +887,11 @@
 Immediately after the @samp{%} and before the optional width and
 precision, you can put certain ``flag'' characters.
 
-A space character inserts a space for positive numbers (otherwise
-nothing is inserted for positive numbers).  This flag is ignored
-except for @samp{%d}, @samp{%e}, @samp{%f}, @samp{%g}.
+A space character inserts a space for positive numbers, a plus character
+inserts a plus sign (otherwise nothing is inserted for positive
+numbers).  These flags are ignored except for @samp{%d}, @samp{%e},
+@samp{%f}, @samp{%g}, and if both flags are present the space is
+ignored.
 
 The flag @samp{#} indicates ``alternate form.''  For @samp{%o} it
 ensures that the result begins with a 0.  For @samp{%x} and @samp{%X}