From 8086a70c32f8243142e43a6d7c629de540bdf803 Mon Sep 17 00:00:00 2001 From: Reiner Steib Date: Fri, 17 Feb 2006 13:42:17 +0000 Subject: [PATCH] Add truncate-lines, ispell-check-comments and ispell-local-dictionary as safe local variables. --- lisp/ChangeLog | 5 +++++ lisp/files.el | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f9a455b9726..68b5f0af4f3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-02-17 Reiner Steib + + * files.el: Add truncate-lines, ispell-check-comments and + ispell-local-dictionary as safe local variables. + 2006-02-18 Nick Roberts * progmodes/gud.el (gud-speedbar-buttons): Use shadow face for diff --git a/lisp/files.el b/lisp/files.el index 285cd50e6af..464d9854e7f 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2553,6 +2553,11 @@ is specified, returning t if it is specified." (fill-column . integerp) (fill-prefix . ,string-or-null) (indent-tabs-mode . t) + (ispell-check-comments . (lambda (a) + (or (null a) + (eq t a) + (eq 'exclusive a)))) + (ispell-local-dictionary . ,string-or-null) (kept-new-versions . integerp) (no-byte-compile . t) (no-update-autoloads . t) @@ -2563,6 +2568,7 @@ is specified, returning t if it is specified." (sentence-end . ,string-or-null) (sentence-end-double-space . t) (tab-width . integerp) + (truncate-lines . t) (version-control . t))))) (defun safe-local-variable-p (sym val) -- 2.39.2