--- ispell.el.0 2006-01-09 12:49:13.000000000 +0100 +++ ispell.el 2006-01-09 13:22:27.000000000 +0100 @@ -2641,10 +2641,11 @@ (ispell-kill-ispell t) (setq ispell-current-dictionary dict) ;; If needed, start ispell process and clear out flyspell word cache - (when (and (featurep 'flyspell) - flyspell-mode) - (ispell-init-process) - (setq flyspell-word-cache-word nil))))) + (when (featurep 'flyspell) + (setq flyspell-last-buffer nil) ;; re-read buffer-local-defs + (when flyspell-mode + (ispell-init-process) + (setq flyspell-word-cache-word nil)))))) ;;; Spelling of comments are checked when ispell-check-comments is non-nil.