diff options
| author | Eli Zaretskii | 1999-11-23 13:17:01 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 1999-11-23 13:17:01 +0000 |
| commit | 08de62001945d4dd32a3d6af44da05804cb296d5 (patch) | |
| tree | 4877beb7ffe0eaad4ebe343fadb7a7e130604864 /src/buffer.c | |
| parent | 3965beb02c94dd1c91b61b05af9b44eea892e364 (diff) | |
| download | emacs-08de62001945d4dd32a3d6af44da05804cb296d5.tar.gz emacs-08de62001945d4dd32a3d6af44da05804cb296d5.zip | |
(syms_of_buffer): Add %z, %Z, %m and %& to the doc
string of mode-line-format. Remove the obsolete %t.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index d919f38784b..04368804b7a 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -4204,6 +4204,7 @@ A string is printed verbatim in the mode line except for %-constructs:\n\ | |||
| 4204 | %b -- print buffer name. %f -- print visited file name.\n\ | 4204 | %b -- print buffer name. %f -- print visited file name.\n\ |
| 4205 | %F -- print frame name.\n\ | 4205 | %F -- print frame name.\n\ |
| 4206 | %* -- print %, * or hyphen. %+ -- print *, % or hyphen.\n\ | 4206 | %* -- print %, * or hyphen. %+ -- print *, % or hyphen.\n\ |
| 4207 | %& is like %*, but ignore read-only-ness.\n\ | ||
| 4207 | % means buffer is read-only and * means it is modified.\n\ | 4208 | % means buffer is read-only and * means it is modified.\n\ |
| 4208 | For a modified read-only buffer, %* gives % and %+ gives *.\n\ | 4209 | For a modified read-only buffer, %* gives % and %+ gives *.\n\ |
| 4209 | %s -- print process status. %l -- print the current line number.\n\ | 4210 | %s -- print process status. %l -- print the current line number.\n\ |
| @@ -4213,8 +4214,10 @@ A string is printed verbatim in the mode line except for %-constructs:\n\ | |||
| 4213 | %p -- print percent of buffer above top of window, or Top, Bot or All.\n\ | 4214 | %p -- print percent of buffer above top of window, or Top, Bot or All.\n\ |
| 4214 | %P -- print percent of buffer above bottom of window, perhaps plus Top,\n\ | 4215 | %P -- print percent of buffer above bottom of window, perhaps plus Top,\n\ |
| 4215 | or print Bottom or All.\n\ | 4216 | or print Bottom or All.\n\ |
| 4217 | %m -- print the mode name.\n\ | ||
| 4216 | %n -- print Narrow if appropriate.\n\ | 4218 | %n -- print Narrow if appropriate.\n\ |
| 4217 | %t -- print T if file is text, B if binary.\n\ | 4219 | %z -- print mnemonics of buffer, terminal, and keyboard coding systems.\n\ |
| 4220 | %Z -- like %z, but including the end-of-line format.\n\ | ||
| 4218 | %[ -- print one [ for each recursive editing level. %] similar.\n\ | 4221 | %[ -- print one [ for each recursive editing level. %] similar.\n\ |
| 4219 | %% -- print %. %- -- print infinitely many dashes.\n\ | 4222 | %% -- print %. %- -- print infinitely many dashes.\n\ |
| 4220 | Decimal digits after the % specify field width to which to pad."); | 4223 | Decimal digits after the % specify field width to which to pad."); |