diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2006-01-15 05:47:44 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2006-01-15 05:47:44 +0000 |
commit | 949855fe64e0438f1dcbac5286e3e952b9fc1b8d (patch) | |
tree | b9e4c09a71a75147ff69e2b3cf631aca6e5dc14f /lisp/textmodes/flyspell.el | |
parent | ef0f5f7e622fa2e569228abc40f0f50eb5bb637f (diff) | |
download | emacs-949855fe64e0438f1dcbac5286e3e952b9fc1b8d.tar.gz |
(flyspell-kill-ispell-hook): Fix braino.
Diffstat (limited to 'lisp/textmodes/flyspell.el')
-rw-r--r-- | lisp/textmodes/flyspell.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 665d6c59fd7..a6e3734b42c 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -528,7 +528,8 @@ in your .emacs file. (defun flyspell-kill-ispell-hook () (setq flyspell-last-buffer nil) (dolist (buf (buffer-list)) - (kill-local-variable 'flyspell-word-cache-word))) + (with-current-buffer buf + (kill-local-variable 'flyspell-word-cache-word)))) ;;*---------------------------------------------------------------------*/ ;;* flyspell-mode-on ... */ |