all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to keep emacs from creating backup files
@ 2004-11-09 13:03 Daniel Hartmanstorfer
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Hartmanstorfer @ 2004-11-09 13:03 UTC (permalink / raw)


How can I keep emacs from making the ~file.txt and #file.txt# files
everytime I edit a file.
Thank you,
Daniel S Hartmanstorfer

-- 
"Oppurtunity is missed by most because it is dressed in overalls and
looks like work"
-Thomas Edison

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how to keep emacs from creating backup files
       [not found] <mailman.1640.1100006004.8225.help-gnu-emacs@gnu.org>
@ 2004-11-09 17:17 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2004-11-09 17:17 UTC (permalink / raw)


Daniel Hartmanstorfer wrote:
 > How can I keep emacs from making the ~file.txt and #file.txt# files
 > everytime I edit a file.

file.txt~ is a backup file.  #file.txt# is an auto save file.

You can read about them in the Emacs manual, in the "Backup" and "Auto
Save" sections (surprise!):

|    For most files, the variable `make-backup-files' determines whether
| to make backup files.  On most operating systems, its default value is
| `t', so that Emacs does write backup files.

|    Each time you visit a file, auto-saving is turned on for that file's
| buffer if the variable `auto-save-default' is non-`nil' (but not in
| batch mode; *note Entering Emacs::).  The default for this variable is
| `t', so auto-saving is the usual practice for file-visiting buffers.

So:

(setq make-backup-files nil)
(setq auto-save-default nil)	; Don't do this!

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-09 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1640.1100006004.8225.help-gnu-emacs@gnu.org>
2004-11-09 17:17 ` how to keep emacs from creating backup files Kevin Rodgers
2004-11-09 13:03 Daniel Hartmanstorfer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.