emacs-devel
[Top][All Lists]
Advanced

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

Re: master e8488bcc9c: Avoid having font locking triggering unnecessary


From: Lars Ingebrigtsen
Subject: Re: master e8488bcc9c: Avoid having font locking triggering unnecessary auto-saving
Date: Thu, 12 May 2022 02:18:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> I'm saying that there should be no difficulty making
> (restore-buffer-modified-p 'autosaved) do the right thing since
> (restore-buffer-modified-p t) followed by auto-saving gives us the
> resulting state (of <FOO>_MODIFF vars) we want: we just need to mimic
> the behavior of that sequence of calls (but without performing the
> auto-save itself, of course).

I was confusing myself here -- I was thinking there was some reason we
wouldn't want to (re)mark the buffer as modified with a FLAG of
`autosaved', but there isn't one, I think?  So I've adjusted the logic
now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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