emacs-diffs
[Top][All Lists]
Advanced

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

fix/bug-57080-mode-line-format-docs d1de8f6dd8d 1/5: * src/buffer.c (mod


From: Phil Sainty
Subject: fix/bug-57080-mode-line-format-docs d1de8f6dd8d 1/5: * src/buffer.c (mode-line-format): Remove docs for obsolete %t construct
Date: Sat, 18 Mar 2023 02:32:35 -0400 (EDT)

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

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

diff --git a/src/buffer.c b/src/buffer.c
index df1f5206668..3bcd387f0c5 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5143,7 +5143,6 @@ A string is printed verbatim in the mode line except for 
%-constructs:
   %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]