# HG changeset patch # User Andreas Schwab # Date 1171632104 0 # Node ID cc22dbc5d5a37a804c732cda09ee258dcf182890 # Parent f7b102b31618bd0049ee4af59838c34fcd721340 (Formatting Strings): Document '+' flag. diff -r f7b102b31618 -r cc22dbc5d5a3 lispref/strings.texi --- 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}