aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPhil Sainty2022-08-14 23:11:43 +1200
committerPhil Sainty2023-03-26 23:44:01 +1300
commit207176e6b1c162dddebddcfb1ba7efd270d48b01 (patch)
tree55e25e4ddde253f0739f46924ae8e5a3d0177f8d /src/buffer.c
parent9cfae822fb36dc4beb4d397c36c447d059c18ca7 (diff)
downloademacs-207176e6b1c162dddebddcfb1ba7efd270d48b01.tar.gz
emacs-207176e6b1c162dddebddcfb1ba7efd270d48b01.zip
* src/buffer.c (mode-line-format): Document %o and %q constructs
Missed from commit b0b02ca7f3e06d0f092df6f81babd1277bf93b0f.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 3bcd387f0c5..0c740775e5b 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5139,9 +5139,12 @@ A string is printed verbatim in the mode line except for %-constructs:
5139 %C -- Like %c, but the leftmost column is displayed as one. 5139 %C -- Like %c, but the leftmost column is displayed as one.
5140 %i -- print the size of the buffer. 5140 %i -- print the size of the buffer.
5141 %I -- like %i, but use k, M, G, etc., to abbreviate. 5141 %I -- like %i, but use k, M, G, etc., to abbreviate.
5142 %o -- print percent of window travel through buffer, or Top, Bot or All.
5142 %p -- print percent of buffer above top of window, or Top, Bot or All. 5143 %p -- print percent of buffer above top of window, or Top, Bot or All.
5143 %P -- print percent of buffer above bottom of window, perhaps plus Top, 5144 %P -- print percent of buffer above bottom of window, perhaps plus Top,
5144 or print Bottom or All. 5145 or print Bottom or All.
5146 %q -- print percent of buffer above both the top and the bottom of the
5147 window, separated by β€˜-’, or β€˜All’.
5145 %n -- print Narrow if appropriate. 5148 %n -- print Narrow if appropriate.
5146 %z -- print mnemonics of keyboard, terminal, and buffer coding systems. 5149 %z -- print mnemonics of keyboard, terminal, and buffer coding systems.
5147 %Z -- like %z, but including the end-of-line format. 5150 %Z -- like %z, but including the end-of-line format.