aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2016-09-16 12:55:15 +0300
committerEli Zaretskii2016-09-23 17:11:54 +0300
commit7cb120ebf397c51540ebb4ef223d84852394ed58 (patch)
treeded07fbd2f614e691715f6c3c83501929abfa397 /src
parent3a9866e203dd263accfb8f9d0a12f5337eb4cff1 (diff)
downloademacs-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.c3
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
3818where flags is [+ #-0]+, width is [0-9]+, and precision is .[0-9]+ 3818where flags is [+ #-0]+, width is [0-9]+, and precision is a literal
3819period "." followed by [0-9]+
3819 3820
3820The + flag character inserts a + before any positive number, while a 3821The + flag character inserts a + before any positive number, while a
3821space inserts a space before any positive number; these flags only 3822space inserts a space before any positive number; these flags only