[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fix/bug-57080-mode-line-format-docs fd69552cd2 1/5: Remove obsolete %t m

From: Phil Sainty
Subject: fix/bug-57080-mode-line-format-docs fd69552cd2 1/5: Remove obsolete %t mode line construct documentation
Date: Mon, 15 Aug 2022 01:07:35 -0400 (EDT)

branch: fix/bug-57080-mode-line-format-docs
commit fd69552cd2faea3a16e942e0ee2251e8c8ef7f5a
Author: Phil Sainty <psainty@orcon.net.nz>
Commit: Phil Sainty <psainty@orcon.net.nz>

    Remove obsolete %t mode line construct documentation
    src/buffer.c (mode-line-format): Remove %t from docstring.
    This documentation had been previously removed in 1999 in
    commit 08de62001945d4dd32a3d6af44da05804cb296d5 but was
    subsequently restored again in a different form in 2006 in
    commit dafbe726b89a36010f3f24bb1efe4ace0a5f7f0f as the
    construct was still supported on some systems.  However it
    looks like it hasn't done what the documentation indicated
    since commit 05c652517317d10690aaf0a6aa0bc876382b9d82 in 2011,
    and the final remnant of this functionality was removed in
    commit 8549f9e89bd9288c4c709d183a5bf8f07dbeed3d in 2013; so
    it seems clear that it's no longer supported and shouldn't
    be documented now.
 src/buffer.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/buffer.c b/src/buffer.c
index e5601af505..206bb6d01f 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5669,7 +5669,6 @@ A string is printed verbatim in the mode line except for 
   %P -- print percent of buffer above bottom of window, perhaps plus Top,
         or print Bottom or All.
   %n -- print Narrow if appropriate.
-  %t -- visited file is text or binary (if OS supports this distinction).
   %z -- print mnemonics of keyboard, terminal, and buffer coding systems.
   %Z -- like %z, but including the end-of-line format.
   %e -- print error message about full memory.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]