From 7911ecc8d80df00aae54eaa957a502523f88f418 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 25 Apr 1995 22:26:16 +0000 Subject: [PATCH] (auto-fill-mode): Use force-mode-line-update. --- lisp/simple.el | 3 +-- 1 file changed, 1 insertion(+), 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 () -- 2.39.5