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

From: Juri Linkov <[email-masked]>
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))))