aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReiner Steib2006-02-17 13:42:17 +0000
committerReiner Steib2006-02-17 13:42:17 +0000
commit8086a70c32f8243142e43a6d7c629de540bdf803 (patch)
tree64b4430924e323ee61330142632cc80369146503
parent8a39d7dad8649b42887305dc3abaccce5abb6cec (diff)
downloademacs-8086a70c32f8243142e43a6d7c629de540bdf803.tar.gz
emacs-8086a70c32f8243142e43a6d7c629de540bdf803.zip
Add truncate-lines, ispell-check-comments and
ispell-local-dictionary as safe local variables.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/files.el6
2 files changed, 11 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f9a455b9726..68b5f0af4f3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-02-17 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * files.el: Add truncate-lines, ispell-check-comments and
4 ispell-local-dictionary as safe local variables.
5
12006-02-18 Nick Roberts <nickrob@snap.net.nz> 62006-02-18 Nick Roberts <nickrob@snap.net.nz>
2 7
3 * progmodes/gud.el (gud-speedbar-buttons): Use shadow face for 8 * 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."
2553 (fill-column . integerp) 2553 (fill-column . integerp)
2554 (fill-prefix . ,string-or-null) 2554 (fill-prefix . ,string-or-null)
2555 (indent-tabs-mode . t) 2555 (indent-tabs-mode . t)
2556 (ispell-check-comments . (lambda (a)
2557 (or (null a)
2558 (eq t a)
2559 (eq 'exclusive a))))
2560 (ispell-local-dictionary . ,string-or-null)
2556 (kept-new-versions . integerp) 2561 (kept-new-versions . integerp)
2557 (no-byte-compile . t) 2562 (no-byte-compile . t)
2558 (no-update-autoloads . t) 2563 (no-update-autoloads . t)
@@ -2563,6 +2568,7 @@ is specified, returning t if it is specified."
2563 (sentence-end . ,string-or-null) 2568 (sentence-end . ,string-or-null)
2564 (sentence-end-double-space . t) 2569 (sentence-end-double-space . t)
2565 (tab-width . integerp) 2570 (tab-width . integerp)
2571 (truncate-lines . t)
2566 (version-control . t))))) 2572 (version-control . t)))))
2567 2573
2568(defun safe-local-variable-p (sym val) 2574(defun safe-local-variable-p (sym val)