opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-gnu-emacs@gnu.org 8 June 2007 • 3:38AM -0400

Re: make-manual-backup
by Joost Kremers

REPLY TO AUTHOR
 
REPLY TO GROUP




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                                      joostkremers@yaho...
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu....
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.