summaryrefslogtreecommitdiff
path: root/lispref
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2007-02-16 13:21:44 +0000
committerAndreas Schwab <schwab@suse.de>2007-02-16 13:21:44 +0000
commit3c031bca5985fc65b882280a96480fb754b2b249 (patch)
tree04be45faa6485734c67a05bf63d789c7010ec4a0 /lispref
parent01769a7373458a391cab62c03974112926c3be1a (diff)
downloademacs-3c031bca5985fc65b882280a96480fb754b2b249.tar.gz
(Formatting Strings): Document '+' flag.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/strings.texi8
1 files changed, 5 insertions, 3 deletions
diff --git a/lispref/strings.texi b/lispref/strings.texi
index 4a8531cd6ce..207624f9642 100644
--- a/lispref/strings.texi
+++ b/lispref/strings.texi
@@ -887,9 +887,11 @@ specification characters.
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}