Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
68196:9b4c8f5efab7 | 68197:979bd3539a58 |
---|---|
526 flyspell-dictionaries-that-consider-dash-as-word-delimiter))))) | 526 flyspell-dictionaries-that-consider-dash-as-word-delimiter))))) |
527 | 527 |
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 ... */ |
535 ;;*---------------------------------------------------------------------*/ | 536 ;;*---------------------------------------------------------------------*/ |
536 (defun flyspell-mode-on () | 537 (defun flyspell-mode-on () |