summaryrefslogtreecommitdiff
path: root/lisp/textmodes/spell.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-01-03 06:40:13 +0000
committerRichard M. Stallman <rms@gnu.org>1995-01-03 06:40:13 +0000
commit9e9c0abe49bd7695675f584b5f8eba8d1a29e743 (patch)
tree35ee63eb1ce4acbe7a89bcb23bae9f3076cf69e1 /lisp/textmodes/spell.el
parent303a5c93579d12f0dfe1774bc8ca05127abbd16c (diff)
downloademacs-9e9c0abe49bd7695675f584b5f8eba8d1a29e743.tar.gz
(spell-filter): Make it a risky-local-variable.
Diffstat (limited to 'lisp/textmodes/spell.el')
-rw-r--r--lisp/textmodes/spell.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/textmodes/spell.el b/lisp/textmodes/spell.el
index 6ebbe35654b..20a6d8be27c 100644
--- a/lisp/textmodes/spell.el
+++ b/lisp/textmodes/spell.el
@@ -39,6 +39,9 @@ This function might remove text-processor commands.
nil means don't alter the text before checking it.")
;;;###autoload
+(put 'spell-filter 'risky-local-variable t)
+
+;;;###autoload
(defun spell-buffer ()
"Check spelling of every word in the buffer.
For each incorrect word, you are asked for the correct spelling