emacs-devel
[Top][All Lists]
Advanced

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

Re: Atomic file replacement in Emacs


From: Stefan Monnier
Subject: Re: Atomic file replacement in Emacs
Date: Wed, 21 Oct 2020 16:46:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>> There is already file-precious-flag.
>> This is used by `save-buffer` but not by `write-region`, so it only
>> works if you use a proper "file buffer".
> It is used by basic-save-buffer.

Duh!  Indeed, I didn't pay enough attention to the code, I assumed it
was wrapping `write-region`.


        Stefan




reply via email to

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