diff options
| author | Paul Eggert | 2018-07-23 10:23:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-07-23 10:24:24 -0700 |
| commit | 90256285e107641b064d6ec51a9c5bb03c3eee6a (patch) | |
| tree | 48205b8d61a4ac46a26ee57d5b13973609b10d0c /doc | |
| parent | 57c4bc146b7e17b6f662604047cb5d10982f962c (diff) | |
| download | emacs-90256285e107641b064d6ec51a9c5bb03c3eee6a.tar.gz emacs-90256285e107641b064d6ec51a9c5bb03c3eee6a.zip | |
(format "%#x" 0) yields "0", not "0x0"
* doc/lispref/strings.texi (Formatting Strings):
* src/editfns.c (Fformat): Document this.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/strings.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index f68199e9f98..2fff3c7c75c 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi | |||
| @@ -1025,7 +1025,7 @@ both flags are used, @samp{+} takes precedence. | |||
| 1025 | 1025 | ||
| 1026 | The flag @samp{#} specifies an alternate form which depends on | 1026 | The flag @samp{#} specifies an alternate form which depends on |
| 1027 | the format in use. For @samp{%o}, it ensures that the result begins | 1027 | the format in use. For @samp{%o}, it ensures that the result begins |
| 1028 | with a @samp{0}. For @samp{%x} and @samp{%X}, it prefixes the result | 1028 | with a @samp{0}. For @samp{%x} and @samp{%X}, it prefixes nonzero results |
| 1029 | with @samp{0x} or @samp{0X}. For @samp{%e} and @samp{%f}, the | 1029 | with @samp{0x} or @samp{0X}. For @samp{%e} and @samp{%f}, the |
| 1030 | @samp{#} flag means include a decimal point even if the precision is | 1030 | @samp{#} flag means include a decimal point even if the precision is |
| 1031 | zero. For @samp{%g}, it always includes a decimal point, and also | 1031 | zero. For @samp{%g}, it always includes a decimal point, and also |