summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2008-01-03 06:40:12 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2008-01-03 06:40:12 +0000
commitbe1320bd57092ee6799209dbd884822d12da35e3 (patch)
tree94cafa1bf3ef195d3319d6e5b55672898eb95e2f
parent76564e7ce3b5e888e3260dd3510c3cf1a254f7da (diff)
downloademacs-be1320bd57092ee6799209dbd884822d12da35e3.tar.gz
* whitespace.el (whitespace-check-buffer-leading)
(whitespace-check-buffer-trailing) (whitespace-check-buffer-indent) (whitespace-check-buffer-spacetab) (whitespace-check-buffer-ateol): Add safe-local-variable properties.
-rw-r--r--lisp/whitespace.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 9c3a6cc18d8..3931ae15b61 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -110,22 +110,27 @@ visited by the buffers.")
(defvar whitespace-check-buffer-leading nil
"Test leading whitespace for file in current buffer if t.")
(make-variable-buffer-local 'whitespace-check-buffer-leading)
+;;;###autoload(put 'whitespace-check-buffer-leading 'safe-local-variable 'booleanp)
(defvar whitespace-check-buffer-trailing nil
"Test trailing whitespace for file in current buffer if t.")
(make-variable-buffer-local 'whitespace-check-buffer-trailing)
+;;;###autoload(put 'whitespace-check-buffer-trailing 'safe-local-variable 'booleanp)
(defvar whitespace-check-buffer-indent nil
"Test indentation whitespace for file in current buffer if t.")
(make-variable-buffer-local 'whitespace-check-buffer-indent)
+;;;###autoload(put 'whitespace-check-buffer-indent 'safe-local-variable 'booleanp)
(defvar whitespace-check-buffer-spacetab nil
"Test Space-followed-by-TABS whitespace for file in current buffer if t.")
(make-variable-buffer-local 'whitespace-check-buffer-spacetab)
+;;;###autoload(put 'whitespace-check-buffer-spacetab 'safe-local-variable 'booleanp)
(defvar whitespace-check-buffer-ateol nil
"Test end-of-line whitespace for file in current buffer if t.")
(make-variable-buffer-local 'whitespace-check-buffer-ateol)
+;;;###autoload(put 'whitespace-check-buffer-ateol 'safe-local-variable 'booleanp)
(defvar whitespace-highlighted-space nil
"The variable to store the extent to highlight.")