changeset 70605:406cace5bf5a

(version-control): Correct safe values.
author Reiner Steib <Reiner.Steib@gmx.de>
date Fri, 12 May 2006 12:29:08 +0000
parents cb9bbccfa10f
children 13e99595c0ba
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri May 12 12:07:43 2006 +0000
+++ b/lisp/ChangeLog	Fri May 12 12:29:08 2006 +0000
@@ -1,3 +1,7 @@
+2006-05-12  Reiner Steib  <Reiner.Steib@gmx.de>
+
+	* files.el (version-control): Correct safe values.
+
 2006-05-12  Thien-Thi Nguyen  <ttn@gnu.org>
 
 	* emacs-lisp/ewoc.el (ewoc-refresh): Compute PP once before looping.
--- a/lisp/files.el	Fri May 12 12:07:43 2006 +0000
+++ b/lisp/files.el	Fri May 12 12:29:08 2006 +0000
@@ -250,7 +250,8 @@
 		 (other :tag "Always" t))
   :group 'backup
   :group 'vc)
-(put 'version-control 'safe-local-variable 'symbolp)
+(put 'version-control 'safe-local-variable
+     '(lambda (x) (or (booleanp x) (equal x 'never))))
 
 (defcustom dired-kept-versions 2
   "*When cleaning directory, number of versions to keep."