Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!sunybcs!ugkevink From: ugkevink@sunybcs.uucp (Kevin Kubek) Newsgroups: comp.emacs Subject: Re: Gnu backup files Message-ID: <7628@sunybcs.UUCP> Date: 4 Jan 88 15:48:18 GMT References: <595@silver.bacs.indiana.edu> Sender: nobody@sunybcs.UUCP Reply-To: ugkevink@joey.UUCP (Kevin Kubek) Distribution: na Organization: SUNY/Buffalo Computer Science Lines: 31 In article <595@silver.bacs.indiana.edu> creps@silver.UUCP (Steve Creps) writes: > > Does anyone know if there is a way to tell Gnu Emacs not to create > a backup file? That is, when you save "file" it renames the last version > of it to "file~". I'm looking for an option or flag to tell Gnu not to > do this, just leave the new version. > >- - - - - - - - - make-backup-files's value is t Documentation: *Create a backup of each file when it is saved for the first time. This can be done by renaming the file or by copying. Renaming means that Emacs renames the existing file so that it is a backup file, then writes the buffer into a new file. Any other names that the old file had will now refer to the backup file. The new file is owned by you and its group is defaulted. Copying means that Emacs copies the existing file into the backup file, then writes the buffer on top of the existing file. Any other names that the old file had will now refer to the new (edited) file. The file's owner and group are unchanged. The choice of renaming or copying is controlled by the variables backup-by-copying, backup-by-copying-when-linked and backup-by-copying-when-mismatch. ------------------------------------------------------------------------ Kevin Kubek SUNY/Buffalo Computer Science UUCP: ..!{ames,boulder,decvax,rutgers}!sunybcs!ugkevink Internet: ugkevink@cs.Buffalo.EDU BITNET: ugkevink@sunybcs.BITNET