diff options
| author | Eli Zaretskii | 2016-09-16 12:55:15 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2016-09-23 17:11:54 +0300 |
| commit | 7cb120ebf397c51540ebb4ef223d84852394ed58 (patch) | |
| tree | ded07fbd2f614e691715f6c3c83501929abfa397 /src | |
| parent | 3a9866e203dd263accfb8f9d0a12f5337eb4cff1 (diff) | |
| download | emacs-7cb120ebf397c51540ebb4ef223d84852394ed58.tar.gz emacs-7cb120ebf397c51540ebb4ef223d84852394ed58.zip | |
Improve the doc string of 'format'
* src/editfns.c (Fformat): Fix ambiguity in the doc string's usage
of a literal period. (Bug#24407)
This was backported from master
(cherry picked from commit 7123896626b06c26c4e37839ab41e41980c8f433)
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index e1c85166545..51b87de8821 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3815,7 +3815,8 @@ specifiers, as follows: | |||
| 3815 | 3815 | ||
| 3816 | %<flags><width><precision>character | 3816 | %<flags><width><precision>character |
| 3817 | 3817 | ||
| 3818 | where flags is [+ #-0]+, width is [0-9]+, and precision is .[0-9]+ | 3818 | where flags is [+ #-0]+, width is [0-9]+, and precision is a literal |
| 3819 | period "." followed by [0-9]+ | ||
| 3819 | 3820 | ||
| 3820 | The + flag character inserts a + before any positive number, while a | 3821 | The + flag character inserts a + before any positive number, while a |
| 3821 | space inserts a space before any positive number; these flags only | 3822 | space inserts a space before any positive number; these flags only |