summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-04-25 22:26:16 +0000
committerKarl Heuer <kwzh@gnu.org>1995-04-25 22:26:16 +0000
commit7911ecc8d80df00aae54eaa957a502523f88f418 (patch)
treee6698a04a0e20a435d5cc994ed475f80a8668f45
parent8d96f9def69d40f885337029836c36789b5c53f2 (diff)
downloademacs-7911ecc8d80df00aae54eaa957a502523f88f418.tar.gz
emacs-7911ecc8d80df00aae54eaa957a502523f88f418.tar.bz2
emacs-7911ecc8d80df00aae54eaa957a502523f88f418.zip
(auto-fill-mode): Use force-mode-line-update.
-rw-r--r--lisp/simple.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 255a9c17d2d..27a7233b0cd 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -2320,8 +2320,7 @@ automatically breaks the line at a previous space."
(> (prefix-numeric-value arg) 0))
'do-auto-fill
nil))
- ;; update mode-line
- (set-buffer-modified-p (buffer-modified-p))))
+ (force-mode-line-update)))
;; This holds a document string used to document auto-fill-mode.
(defun auto-fill-function ()