Mercurial > emacs
changeset 79661:c273395cbfd3
* 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.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Thu, 03 Jan 2008 06:40:12 +0000 |
parents | 6fa5fc37cfee |
children | f0e20a14ba94 |
files | lisp/whitespace.el |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/whitespace.el Mon Dec 31 03:43:15 2007 +0000 +++ b/lisp/whitespace.el Thu Jan 03 06:40:12 2008 +0000 @@ -110,22 +110,27 @@ (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.")