changeset 68970:eacb238be92f

Add truncate-lines, ispell-check-comments and ispell-local-dictionary as safe local variables.
author Reiner Steib <Reiner.Steib@gmx.de>
date Fri, 17 Feb 2006 13:42:17 +0000
parents 2253db4514ba
children f8b092ff513c
files lisp/ChangeLog lisp/files.el
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Feb 17 12:35:52 2006 +0000
+++ b/lisp/ChangeLog	Fri Feb 17 13:42:17 2006 +0000
@@ -1,3 +1,8 @@
+2006-02-17  Reiner Steib  <Reiner.Steib@gmx.de>
+
+	* files.el: Add truncate-lines, ispell-check-comments and
+	ispell-local-dictionary as safe local variables.
+
 2006-02-18  Nick Roberts  <nickrob@snap.net.nz>
 
 	* progmodes/gud.el (gud-speedbar-buttons): Use shadow face for
--- a/lisp/files.el	Fri Feb 17 12:35:52 2006 +0000
+++ b/lisp/files.el	Fri Feb 17 13:42:17 2006 +0000
@@ -2553,6 +2553,11 @@
 	    (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 @@
 	    (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)