From 31cf286fdb0a74fa05761163237ee002e1b511b8 Mon Sep 17 00:00:00 2001 From: Reiner Steib Date: Tue, 2 May 2006 12:24:55 +0000 Subject: [PATCH] (byte-compile-dynamic) (byte-compile-dynamic-docstrings, byte-compile-warnings) (find-file-visit-truename, indent-tabs-mode, left-margin) (no-byte-compile no-update-autoloads, truncate-lines) (version-control): Don't use `t' for safe-local-variable declarations. --- lisp/ChangeLog | 9 +++++++++ lisp/files.el | 20 ++++++++++---------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c841f83b086..3269c5a7266 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,12 @@ +2006-05-02 Reiner Steib + + * files.el (byte-compile-dynamic) + (byte-compile-dynamic-docstrings, byte-compile-warnings) + (find-file-visit-truename, indent-tabs-mode, left-margin) + (no-byte-compile no-update-autoloads, truncate-lines) + (version-control): Don't use `t' for safe-local-variable + declarations. + 2006-05-01 Richard Stallman * diff-mode.el (diff-mode-shared-map): Don't bind M-W, M-U, M-C, diff --git a/lisp/files.el b/lisp/files.el index 76167eb27cf..99972dc9709 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2353,27 +2353,27 @@ asking you for confirmation." (eval `(mapc (lambda (pair) (put (car pair) 'safe-local-variable (cdr pair))) - '((byte-compile-dynamic . t) - (byte-compile-dynamic-docstrings . t) - (byte-compile-warnings . t) + '((byte-compile-dynamic . booleanp) + (byte-compile-dynamic-docstrings . booleanp) + (byte-compile-warnings . booleanp) (c-basic-offset . integerp) (c-file-style . stringp) (c-indent-level . integerp) (comment-column . integerp) (compile-command . string-or-null-p) - (find-file-visit-truename . t) + (find-file-visit-truename . booleanp) (fill-column . integerp) (fill-prefix . string-or-null-p) - (indent-tabs-mode . t) + (indent-tabs-mode . booleanp) ;; C source code (kept-old-versions . integerp) (kept-new-versions . integerp) - (left-margin . t) - (no-byte-compile . t) - (no-update-autoloads . t) + (left-margin . integerp) + (no-byte-compile . booleanp) + (no-update-autoloads . booleanp) (outline-regexp . string-or-null-p) (tab-width . integerp) ;; C source code - (truncate-lines . t) ;; C source code - (version-control . t))))) + (truncate-lines . booleanp) ;; C source code + (version-control . symbolp))))) (put 'c-set-style 'safe-local-eval-function t) -- 2.39.5