diff options
| author | Juri Linkov | 2025-07-31 21:47:22 +0300 |
|---|---|---|
| committer | Juri Linkov | 2025-07-31 21:47:22 +0300 |
| commit | a6e0bb92bb0c114fc8d57864455330d04eac064e (patch) | |
| tree | a05384d783753f9933c741eb2a4e2a419f6357bb | |
| parent | 7d77ae98d4de8e09a033ecd9e9b267524a294a84 (diff) | |
| download | emacs-a6e0bb92bb0c114fc8d57864455330d04eac064e.tar.gz emacs-a6e0bb92bb0c114fc8d57864455330d04eac064e.zip | |
* lisp/tab-line.el (tab-line-cache-key-default): Adapt to new feature.
Take into account 'tab-line-close-modified-button-show' similarly
to the case when 'tab-line-tab-face-modified' is a member of
'tab-line-tab-face-functions' (bug#79046).
| -rw-r--r-- | lisp/tab-line.el | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ it clears the tab-line cache of all tab lines and forces their redisplay." | |||
| 762 | ;; for setting face 'tab-line-tab-current' | 762 | ;; for setting face 'tab-line-tab-current' |
| 763 | (mode-line-window-selected-p) | 763 | (mode-line-window-selected-p) |
| 764 | ;; for `tab-line-tab-face-modified' | 764 | ;; for `tab-line-tab-face-modified' |
| 765 | (and (memq 'tab-line-tab-face-modified | 765 | (and (or tab-line-close-modified-button-show |
| 766 | tab-line-tab-face-functions) | 766 | (memq 'tab-line-tab-face-modified |
| 767 | tab-line-tab-face-functions)) | ||
| 767 | (buffer-file-name) | 768 | (buffer-file-name) |
| 768 | (buffer-modified-p)))) | 769 | (buffer-modified-p)))) |
| 769 | 770 | ||