aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>1999-11-23 13:17:01 +0000
committerEli Zaretskii <[email protected]>1999-11-23 13:17:01 +0000
commit08de62001945d4dd32a3d6af44da05804cb296d5 (patch)
tree4877beb7ffe0eaad4ebe343fadb7a7e130604864
parent3965beb02c94dd1c91b61b05af9b44eea892e364 (diff)
(syms_of_buffer): Add %z, %Z, %m and %& to the doc
string of mode-line-format. Remove the obsolete %t.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/buffer.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 412ab67cb4..c8e63980bb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+1999-11-22 Eli Zaretskii <[email protected]>
+
+ * buffer.c (syms_of_buffer): Add %z, %Z, %m and %& to the doc
+ string of mode-line-format. Remove the obsolete %t.
+
1999-11-22 Gerd Moellmann <[email protected]>
* dispnew.c (direct_output_for_insert): Increment glyph positions
diff --git a/src/buffer.c b/src/buffer.c
index d919f38784..04368804b7 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\
%b -- print buffer name. %f -- print visited file name.\n\
%F -- print frame name.\n\
%* -- print %, * or hyphen. %+ -- print *, % or hyphen.\n\
+ %& is like %*, but ignore read-only-ness.\n\
% means buffer is read-only and * means it is modified.\n\
For a modified read-only buffer, %* gives % and %+ gives *.\n\
%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\
%p -- print percent of buffer above top of window, or Top, Bot or All.\n\
%P -- print percent of buffer above bottom of window, perhaps plus Top,\n\
or print Bottom or All.\n\
+ %m -- print the mode name.\n\
%n -- print Narrow if appropriate.\n\
- %t -- print T if file is text, B if binary.\n\
+ %z -- print mnemonics of buffer, terminal, and keyboard coding systems.\n\
+ %Z -- like %z, but including the end-of-line format.\n\
%[ -- print one [ for each recursive editing level. %] similar.\n\
%% -- print %. %- -- print infinitely many dashes.\n\
Decimal digits after the % specify field width to which to pad.");