From 08de62001945d4dd32a3d6af44da05804cb296d5 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 23 Nov 1999 13:17:01 +0000 Subject: [PATCH] (syms_of_buffer): Add %z, %Z, %m and %& to the doc string of mode-line-format. Remove the obsolete %t. --- src/ChangeLog | 5 +++++ src/buffer.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 412ab67cb44..c8e63980bb5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +1999-11-22 Eli Zaretskii + + * 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 * dispnew.c (direct_output_for_insert): Increment glyph positions 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\ %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."); -- 2.39.2