Commit 949855fe authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(flyspell-kill-ispell-hook): Fix braino.

parent ef0f5f7e
......@@ -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 ... */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment