GNU bug report logs - #79046
(WIP) [PATCH] tab-line: Change close button appearance for modified tabs

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Sat, 19 Jul 2025 01:23:02 UTC

Severity: normal

Tags: patch

Fixed in version 31.0.50

Done: Juri Linkov <juri <at> linkov.net>

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Elijah Gabe Pérez <eg642616 <at> gmail.com>
Cc: 79046 <at> debbugs.gnu.org
Subject: bug#79046: (WIP) [PATCH] tab-line: Change close button appearance for modified tabs
Date: Thu, 31 Jul 2025 21:47:45 +0300
> Thanks for the nice feature, now pushed.

Oh, it also required this patch, also pushed:

diff --git a/lisp/tab-line.el b/lisp/tab-line.el
index 5e33064b5b1..51675dbbb29 100644
--- a/lisp/tab-line.el
+++ b/lisp/tab-line.el
@@ -762,8 +762,9 @@ tab-line-cache-key-default
    ;; for setting face 'tab-line-tab-current'
    (mode-line-window-selected-p)
    ;; for `tab-line-tab-face-modified'
-   (and (memq 'tab-line-tab-face-modified
-              tab-line-tab-face-functions)
+   (and (or tab-line-close-modified-button-show
+            (memq 'tab-line-tab-face-modified
+                  tab-line-tab-face-functions))
         (buffer-file-name)
         (buffer-modified-p))))





This bug report was last modified 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.