From 3c031bca5985fc65b882280a96480fb754b2b249 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 16 Feb 2007 13:21:44 +0000 Subject: [PATCH] (Formatting Strings): Document '+' flag. --- lispref/strings.texi | 8 +++++--- 1 file 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} -- 2.39.2