Mercurial > emacs
diff lisp/textmodes/flyspell.el @ 68197:979bd3539a58
(flyspell-kill-ispell-hook): Fix braino.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 15 Jan 2006 05:47:44 +0000 |
parents | 9b4c8f5efab7 |
children | aa1b3e649cc8 7beb78bc1f8e |
line wrap: on
line diff
--- a/lisp/textmodes/flyspell.el Sun Jan 15 05:46:20 2006 +0000 +++ b/lisp/textmodes/flyspell.el Sun Jan 15 05:47:44 2006 +0000 @@ -528,7 +528,8 @@ (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 ... */