help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: make-manual-backup


From: Joost Kremers
Subject: Re: make-manual-backup
Date: 7 Jun 2007 19:38:46 GMT
User-agent: slrn/0.9.8.1 (Linux)

weber wrote:
> I just wrote this function to make a backup of the current file, but
> I'm not happy with the solution I used: I have this second write-file
> to return to the original file.
> Is there a better (probably also faster) way?

it's better to use write-region: that doesn't change the buffer's
association with the file.

-- 
Joost Kremers                                      address@hidden
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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