diff options
| author | Andreas Schwab | 2007-02-16 13:21:44 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2007-02-16 13:21:44 +0000 |
| commit | 3c031bca5985fc65b882280a96480fb754b2b249 (patch) | |
| tree | 04be45faa6485734c67a05bf63d789c7010ec4a0 | |
| parent | 01769a7373458a391cab62c03974112926c3be1a (diff) | |
| download | emacs-3c031bca5985fc65b882280a96480fb754b2b249.tar.gz emacs-3c031bca5985fc65b882280a96480fb754b2b249.zip | |
(Formatting Strings): Document '+' flag.
| -rw-r--r-- | lispref/strings.texi | 8 |
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. | |||
| 887 | Immediately after the @samp{%} and before the optional width and | 887 | Immediately after the @samp{%} and before the optional width and |
| 888 | precision, you can put certain ``flag'' characters. | 888 | precision, you can put certain ``flag'' characters. |
| 889 | 889 | ||
| 890 | A space character inserts a space for positive numbers (otherwise | 890 | A space character inserts a space for positive numbers, a plus character |
| 891 | nothing is inserted for positive numbers). This flag is ignored | 891 | inserts a plus sign (otherwise nothing is inserted for positive |
| 892 | except for @samp{%d}, @samp{%e}, @samp{%f}, @samp{%g}. | 892 | numbers). These flags are ignored except for @samp{%d}, @samp{%e}, |
| 893 | @samp{%f}, @samp{%g}, and if both flags are present the space is | ||
| 894 | ignored. | ||
| 893 | 895 | ||
| 894 | The flag @samp{#} indicates ``alternate form.'' For @samp{%o} it | 896 | The flag @samp{#} indicates ``alternate form.'' For @samp{%o} it |
| 895 | ensures that the result begins with a 0. For @samp{%x} and @samp{%X} | 897 | ensures that the result begins with a 0. For @samp{%x} and @samp{%X} |