emacs-devel
[Top][All Lists]
Advanced

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

Re: tab-line-tab-modified: cool feature... not yet there


From: Pedro Andres Aranda Gutierrez
Subject: Re: tab-line-tab-modified: cool feature... not yet there
Date: Mon, 4 Oct 2021 09:35:50 +0200

Cool! Everything is consistent right now:-)

Thanks a ton! /PA

On Sun, 3 Oct 2021 at 19:21, Juri Linkov <juri@linkov.net> wrote:
> 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.


--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

reply via email to

[Prev in Thread] Current Thread [Next in Thread]