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 /src | |
| 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 'src')
| -rw-r--r-- | src/editfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index ccc0d27b139..09f836c3eb4 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -4202,7 +4202,7 @@ The - and 0 flags affect the width specifier, as described below. | |||
| 4202 | 4202 | ||
| 4203 | The # flag means to use an alternate display form for %o, %x, %X, %e, | 4203 | The # flag means to use an alternate display form for %o, %x, %X, %e, |
| 4204 | %f, and %g sequences: for %o, it ensures that the result begins with | 4204 | %f, and %g sequences: for %o, it ensures that the result begins with |
| 4205 | \"0\"; for %x and %X, it prefixes the result with \"0x\" or \"0X\"; | 4205 | \"0\"; for %x and %X, it prefixes nonzero results with \"0x\" or \"0X\"; |
| 4206 | for %e and %f, it causes a decimal point to be included even if the | 4206 | for %e and %f, it causes a decimal point to be included even if the |
| 4207 | precision is zero; for %g, it causes a decimal point to be | 4207 | precision is zero; for %g, it causes a decimal point to be |
| 4208 | included even if the precision is zero, and also forces trailing | 4208 | included even if the precision is zero, and also forces trailing |