Commit a57c6a28 authored by Karl Heuer's avatar Karl Heuer
Browse files

(outline-minor-mode): Use force-mode-line-update.

parent 00dbaf0a
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment