emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/textmodes/flyspell.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/textmodes/flyspell.el
Date: Sun, 15 Jan 2006 05:47:44 +0000

Index: emacs/lisp/textmodes/flyspell.el
diff -u emacs/lisp/textmodes/flyspell.el:1.95 
emacs/lisp/textmodes/flyspell.el:1.96
--- emacs/lisp/textmodes/flyspell.el:1.95       Sun Jan 15 05:46:20 2006
+++ emacs/lisp/textmodes/flyspell.el    Sun Jan 15 05:47:44 2006
@@ -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 ...                                             */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]