]> git.eshelyaron.com Git - emacs.git/commitdiff
(ispell-minor-mode): Use force-mode-line-update.
authorKarl Heuer <kwzh@gnu.org>
Tue, 25 Apr 1995 22:21:29 +0000 (22:21 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 25 Apr 1995 22:21:29 +0000 (22:21 +0000)
lisp/textmodes/ispell.el

index 2dd5f2ac118caaf9979b57d04029378c79276920..4214c667af94c4c18fa7b4a53e0d18ce4b36c2f4 100644 (file)
@@ -2013,7 +2013,7 @@ warns you if the previous word is incorrectly spelled."
   (setq ispell-minor-mode
        (not (or (and (null arg) ispell-minor-mode)
                 (<= (prefix-numeric-value arg) 0))))
-  (set-buffer-modified-p (buffer-modified-p)))
+  (force-mode-line-update))
  
 (defun ispell-minor-check ()
   ;; Check previous word then continue with the normal binding of this key.