diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/strings.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index e80e778bece..f365c80493d 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -965,9 +965,10 @@ extra values to be formatted are ignored. | |||
| 965 | decimal number immediately after the initial @samp{%}, followed by a | 965 | decimal number immediately after the initial @samp{%}, followed by a |
| 966 | literal dollar sign @samp{$}. It causes the format specification to | 966 | literal dollar sign @samp{$}. It causes the format specification to |
| 967 | convert the argument with the given number instead of the next | 967 | convert the argument with the given number instead of the next |
| 968 | argument. Field numbers start at 1. A format can contain either | 968 | argument. Field numbers start at 1. A field number should differ |
| 969 | numbered or unnumbered format specifications but not both, except that | 969 | from the other field numbers in the same format. A format can contain |
| 970 | @samp{%%} can be mixed with numbered specifications. | 970 | either numbered or unnumbered format specifications but not both, |
| 971 | except that @samp{%%} can be mixed with numbered specifications. | ||
| 971 | 972 | ||
| 972 | @example | 973 | @example |
| 973 | (format "%2$s, %3$s, %%, %1$s" "x" "y" "z") | 974 | (format "%2$s, %3$s, %%, %1$s" "x" "y" "z") |