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: Wed, 11 May 2022 13:22:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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

>> I'm actually not quite sure what the semantics should be if the buffer
>> is buffer-modified-p => nil and we're called with
>> (restore-buffer-modified-p 'autosaved)...
>
> (restore-buffer-modified-p 'autosaved) can be done by doing
> the same as what happens if you do (restore-buffer-modified-p
> 'autosaved) and then you wait for auto-save to kick in, no?

Uhm...  I don't follow.  If somebody does
(restore-buffer-modified-p 'autosaved), then that buffer won't be
autosaved...  (Well, until the user modifies the buffer.)

-- 
(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]