[Top][All Lists]

[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/ (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

reply via email to

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