chiark / gitweb /
emacs: Allow files to declare that they don't want to be backed up.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 24 Apr 2008 15:53:55 +0000 (16:53 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 24 Apr 2008 15:53:55 +0000 (16:53 +0100)
emacs

diff --git a/emacs b/emacs
index f0ac5809550622c68e1ece54f128c337347ec671..48e82fe5754d5afa77f88bd40d11b5b3301fe506 100644 (file)
--- a/emacs
+++ b/emacs
       '("/\\.git/COMMIT_EDITMSG$"
        "/\\.stgit\\(-edit\\.txt\\|msg\\.txt\\|\\.msg\\)$"))
 
       '("/\\.git/COMMIT_EDITMSG$"
        "/\\.stgit\\(-edit\\.txt\\|msg\\.txt\\|\\.msg\\)$"))
 
+;; --- Safe variables ---
+
+(setq safe-local-variable-values
+      '((make-backup-files . nil)))
+
 ;; --- Calculator fiddling ---
 
 (setq calc-settings-file "~/.emacs-calc")
 ;; --- Calculator fiddling ---
 
 (setq calc-settings-file "~/.emacs-calc")