diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-04-25 22:27:27 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-04-25 22:27:27 +0000 |
commit | a57c6a283a22a4fe3480f240384221b7be15a645 (patch) | |
tree | 3580d9c7859f923eb2d53bd3a17270105e50ebe0 /lisp/textmodes | |
parent | 00dbaf0a510a332197ce233b55990de4f5247538 (diff) | |
download | emacs-a57c6a283a22a4fe3480f240384221b7be15a645.tar.gz |
(outline-minor-mode): Use force-mode-line-update.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/ooutline.el | 2 | ||||
-rw-r--r-- | lisp/textmodes/outline.el | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index 8caf9ff3546..e3752c6c75c 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el @@ -249,7 +249,7 @@ See the command `outline-mode' for more information on this mode." ;; When turning off outline mode, get rid of any ^M's. (or outline-minor-mode (outline-flag-region (point-min) (point-max) ?\n)) - (set-buffer-modified-p (buffer-modified-p))) + (force-mode-line-update)) (defvar outline-level 'outline-level "Function of no args to compute a header's nesting level in an outline. diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el index ebface284b0..870a3fe85b6 100644 --- a/lisp/textmodes/outline.el +++ b/lisp/textmodes/outline.el @@ -257,7 +257,7 @@ See the command `outline-mode' for more information on this mode." ;; When turning off outline mode, get rid of any outline hiding. (or outline-minor-mode (show-all)) - (set-buffer-modified-p (buffer-modified-p))) + (force-mode-line-update)) (defvar outline-level 'outline-level "Function of no args to compute a header's nesting level in an outline. |