[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tab-line-tab-modified: cool feature... not yet there
From: |
Juri Linkov |
Subject: |
Re: tab-line-tab-modified: cool feature... not yet there |
Date: |
Sun, 03 Oct 2021 20:17:10 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> Hi, I've seen a couple of ideas in the internet on how to spped his up. You
> could use the buffer-change hooks and defadvice on undo and would be much
> less than on every keypress, right? I think this could be a good compromise
Fortunately, it was much easier to implement this by adding
just these 3 lines to tab-line-format:
+ (and (memq 'tab-line-tab-face-modified
+ tab-line-tab-face-functions)
+ (buffer-file-name) (buffer-modified-p))))
So now this is fixed in the emacs-28 branch.