Mercurial > emacs
changeset 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 | f00134dbd2a6 |
files | lisp/textmodes/flyspell.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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 ... */