changeset 7682:ce09b4fd6cc8

Add more risky-local-variable properties.
author Richard M. Stallman <rms@gnu.org>
date Wed, 25 May 1994 20:43:21 +0000
parents c5abcd22ce97
children be3423efbdce
files lisp/files.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Wed May 25 19:57:48 1994 +0000
+++ b/lisp/files.el	Wed May 25 20:43:21 1994 +0000
@@ -1105,11 +1105,15 @@
   "Variables to be ignored in a file's local variable spec.")
 
 ;; Get confirmation before setting these variables as locals in a file.
+(put 'enable-local-eval 'risky-local-variable t)
 (put 'eval 'risky-local-variable t)
 (put 'file-name-handler-alist 'risky-local-variable t)
 (put 'minor-mode-map-alist 'risky-local-variable t)
 (put 'after-load-alist 'risky-local-variable t)
-	    
+(put 'buffer-file-name 'risky-local-variable t)
+(put 'buffer-auto-save-file-name 'risky-local-variable t)
+(put 'buffer-file-truename 'risky-local-variable t)
+
 (defun hack-one-local-variable-quotep (exp)
   (and (consp exp) (eq (car exp) 'quote) (consp (cdr exp))))