Path: utzoo!utgpu!water!watmath!clyde!rutgers!ucla-cs!zen!ucbcad!ames!amdahl!pyramid!oliveb!intelca!mipos3!cpocd2!nate From: nate@cpocd2.UUCP (Nathan Hess) Newsgroups: comp.emacs Subject: Re: Gnu backup files Message-ID: <1051@cpocd2.UUCP> Date: 7 Jan 88 16:59:38 GMT References: <595@silver.bacs.indiana.edu> Reply-To: nate@cpocd2.UUCP (Nathan Hess) Distribution: na Organization: Intel Corp., ASIC Services Operation, Chandler AZ Lines: 34 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. When your current buffer is the one you don't want a backup file for, try the following: M-x set-variable RET make-backup-files RET nil RET This should do the trick. --woodstock P.S. Here is a portion of the GNU Emacs manual that talks about the appropriate variable: [ Copyright (C) 1986, 1987 by Free Software Foundation, Inc. ] Backup Files ------------ Because Unix does not provide version numbers in file names, rewriting a file in Unix automatically destroys all record of what the file used to contain. Thus, saving a file from Emacs throws away the old contents of the file---or it would, except that Emacs carefully copies the old contents to another file, called the "backup" file, before actually saving. (Provided the variable `make-backup-files' is non-`nil'. Backup files are not written if this variable is `nil'). -- "How did you get your mind to tilt like your hat?" ...!{decwrl|hplabs!oliveb|pur-ee|qantel|amd}!intelca!mipos3!cpocd2!nate : nate@cpocd2.intel.com ATT : (602) 961-2037