diff options
| author | Mattias EngdegÄrd | 2020-01-26 10:04:31 -0800 |
|---|---|---|
| committer | Paul Eggert | 2020-01-26 10:05:53 -0800 |
| commit | c8fcabf24546e77dc5bd0cb1e206e8114809c810 (patch) | |
| tree | 50381b0050c3887a33ef0c6aaf7fef518fdfe7c1 /src | |
| parent | 2e9a153b26da820da5b731261ed9ca437c0212a3 (diff) | |
| download | emacs-c8fcabf24546e77dc5bd0cb1e206e8114809c810.tar.gz emacs-c8fcabf24546e77dc5bd0cb1e206e8114809c810.zip | |
Correct regexp for flags in `format' doc string
* src/editfns.c (Fformat): Use the correct regexp for describing the
flags in a %-sequence (place the hyphen last).
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 4e35784e554..3f1b3aa4b75 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3031,7 +3031,7 @@ width, and precision specifiers, as follows: | |||
| 3031 | %<field><flags><width><precision>character | 3031 | %<field><flags><width><precision>character |
| 3032 | 3032 | ||
| 3033 | where field is [0-9]+ followed by a literal dollar "$", flags is | 3033 | where field is [0-9]+ followed by a literal dollar "$", flags is |
| 3034 | [+ #-0]+, width is [0-9]+, and precision is a literal period "." | 3034 | [+ #0-]+, width is [0-9]+, and precision is a literal period "." |
| 3035 | followed by [0-9]+. | 3035 | followed by [0-9]+. |
| 3036 | 3036 | ||
| 3037 | If a %-sequence is numbered with a field with positive value N, the | 3037 | If a %-sequence is numbered with a field with positive value N, the |