help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backup File Created.


From: F. Xavier Noria
Subject: Re: Backup File Created.
Date: Thu, 16 Nov 2000 13:08:20 +0100 (CET)

;    Whenever i open a file in Emacs, a backup file is created with a 'tilde'
; character at the end.
; 
;    I dont want any backup files to be created.  Is there a way ?

Put this in your .emacs:

    (setq make-backup-files nil)

However, if you are just annoyed at the sight of all those ~s when
listing a directory, another alternative is to put them apart. For
instace:

    (defun make-backup-file-name (file)
      (concat "~/emacs/backup/" (file-name-nondirectory file)))

says that you want backups written in ~/emacs/backup/. (If you prefer
this don't setq `make-backup-files' to nil.)

-- Xavier




reply via email to

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