From 2bcf8edbecab6dc968313cb5b0b50304fad287d5 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 25 Apr 1995 22:21:29 +0000 Subject: [PATCH] (ispell-minor-mode): Use force-mode-line-update. --- lisp/textmodes/ispell.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 2dd5f2ac118..4214c667af9 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -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. -- 2.39.5