diff options
| author | K. Handa | 2015-09-01 20:46:15 +0900 |
|---|---|---|
| committer | K. Handa | 2015-09-01 20:46:15 +0900 |
| commit | 3e0e2339cd379eeba8d9bc758f2e8e574144e252 (patch) | |
| tree | 9d119efed6e52e5c24dbd84836148157271799a8 /doc/lispref/strings.texi | |
| parent | 524eeb2e5e158d98ea52fe5ebe4768c4433ba8b2 (diff) | |
| parent | ff0a92f6461941902eb9e974bdd2ff9adacb7bc4 (diff) | |
| download | emacs-3e0e2339cd379eeba8d9bc758f2e8e574144e252.tar.gz emacs-3e0e2339cd379eeba8d9bc758f2e8e574144e252.zip | |
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'doc/lispref/strings.texi')
| -rw-r--r-- | doc/lispref/strings.texi | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 08e8e877a9f..d882be485ef 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -969,12 +969,12 @@ is not truncated. | |||
| 969 | 969 | ||
| 970 | @example | 970 | @example |
| 971 | @group | 971 | @group |
| 972 | (format "The word '%7s' has %d letters in it." | 972 | (format "The word ‘%7s’ has %d letters in it." |
| 973 | "foo" (length "foo")) | 973 | "foo" (length "foo")) |
| 974 | @result{} "The word ' foo' has 3 letters in it." | 974 | @result{} "The word ‘ foo’ has 3 letters in it." |
| 975 | (format "The word '%7s' has %d letters in it." | 975 | (format "The word ‘%7s’ has %d letters in it." |
| 976 | "specification" (length "specification")) | 976 | "specification" (length "specification")) |
| 977 | @result{} "The word 'specification' has 13 letters in it." | 977 | @result{} "The word ‘specification’ has 13 letters in it." |
| 978 | @end group | 978 | @end group |
| 979 | @end example | 979 | @end example |
| 980 | 980 | ||
| @@ -1013,12 +1013,12 @@ ignored. | |||
| 1013 | (format "%06d is padded on the left with zeros" 123) | 1013 | (format "%06d is padded on the left with zeros" 123) |
| 1014 | @result{} "000123 is padded on the left with zeros" | 1014 | @result{} "000123 is padded on the left with zeros" |
| 1015 | 1015 | ||
| 1016 | (format "'%-6d' is padded on the right" 123) | 1016 | (format "‘%-6d’ is padded on the right" 123) |
| 1017 | @result{} "'123 ' is padded on the right" | 1017 | @result{} "‘123 ’ is padded on the right" |
| 1018 | 1018 | ||
| 1019 | (format "The word '%-7s' actually has %d letters in it." | 1019 | (format "The word ‘%-7s’ actually has %d letters in it." |
| 1020 | "foo" (length "foo")) | 1020 | "foo" (length "foo")) |
| 1021 | @result{} "The word 'foo ' actually has 3 letters in it." | 1021 | @result{} "The word ‘foo ’ actually has 3 letters in it." |
| 1022 | @end group | 1022 | @end group |
| 1023 | @end example | 1023 | @end example |
| 1024 | 1024 | ||