]> code.delx.au - gnu-emacs/commitdiff
(syms_of_buffer): Add %z, %Z, %m and %& to the doc
authorEli Zaretskii <eliz@gnu.org>
Tue, 23 Nov 1999 13:17:01 +0000 (13:17 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 23 Nov 1999 13:17:01 +0000 (13:17 +0000)
string of mode-line-format.  Remove the obsolete %t.

src/ChangeLog
src/buffer.c

index 412ab67cb44be2d9f4e7c74e996579d82b133a21..c8e63980bb5f65973fc7ba9f70c52337a656dfb6 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-22  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * 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  <gerd@gnu.org>
 
        * dispnew.c (direct_output_for_insert): Increment glyph positions
index d919f38784b0290076f8af36a03c1abfb86fb1f7..04368804b7ae4fdba7b4cb282a4d7c7ecd9e6831 100644 (file)
@@ -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.");