diff options
| author | Stefan Monnier | 2006-01-15 05:47:44 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2006-01-15 05:47:44 +0000 |
| commit | 949855fe64e0438f1dcbac5286e3e952b9fc1b8d (patch) | |
| tree | b9e4c09a71a75147ff69e2b3cf631aca6e5dc14f | |
| parent | ef0f5f7e622fa2e569228abc40f0f50eb5bb637f (diff) | |
| download | emacs-949855fe64e0438f1dcbac5286e3e952b9fc1b8d.tar.gz emacs-949855fe64e0438f1dcbac5286e3e952b9fc1b8d.zip | |
(flyspell-kill-ispell-hook): Fix braino.
| -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. | |||
| 528 | (defun flyspell-kill-ispell-hook () | 528 | (defun flyspell-kill-ispell-hook () |
| 529 | (setq flyspell-last-buffer nil) | 529 | (setq flyspell-last-buffer nil) |
| 530 | (dolist (buf (buffer-list)) | 530 | (dolist (buf (buffer-list)) |
| 531 | (kill-local-variable 'flyspell-word-cache-word))) | 531 | (with-current-buffer buf |
| 532 | (kill-local-variable 'flyspell-word-cache-word)))) | ||
| 532 | 533 | ||
| 533 | ;;*---------------------------------------------------------------------*/ | 534 | ;;*---------------------------------------------------------------------*/ |
| 534 | ;;* flyspell-mode-on ... */ | 535 | ;;* flyspell-mode-on ... */ |