Commit 2c609f53 authored by Karl Heuer's avatar Karl Heuer
Browse files

(Info-edit-mode, Info-cease-edit): Use force-mode-line-update.

parent 1cd3732c
......@@ -1561,8 +1561,7 @@ which returns to Info mode for browsing.
(setq mode-name "Info Edit")
(kill-local-variable 'mode-line-buffer-identification)
(setq buffer-read-only nil)
;; Make mode line update.
(set-buffer-modified-p (buffer-modified-p))
(buffer-enable-undo (current-buffer))
(run-hooks 'Info-edit-mode-hook))
......@@ -1588,8 +1587,7 @@ Allowed only if variable `Info-enable-edit' is non-nil."
(setq mode-name "Info")
(setq buffer-read-only t)
;; Make mode line update.
(set-buffer-modified-p (buffer-modified-p))
(and (marker-position Info-tag-table-marker)
(message "Tags may have changed. Use Info-tagify if necessary")))
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