Mercurial > emacs
changeset 11580:7f357fe2cda5
(Info-edit-mode, Info-cease-edit): Use force-mode-line-update.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 25 Apr 1995 22:28:58 +0000 |
parents | 28e4495a9e8f |
children | e21661a78292 |
files | lisp/info.el |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info.el Tue Apr 25 22:28:40 1995 +0000 +++ b/lisp/info.el Tue Apr 25 22:28:58 1995 +0000 @@ -1561,8 +1561,7 @@ (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)) + (force-mode-line-update) (buffer-enable-undo (current-buffer)) (run-hooks 'Info-edit-mode-hook)) @@ -1588,8 +1587,7 @@ (setq mode-name "Info") (Info-set-mode-line) (setq buffer-read-only t) - ;; Make mode line update. - (set-buffer-modified-p (buffer-modified-p)) + (force-mode-line-update) (and (marker-position Info-tag-table-marker) (buffer-modified-p) (message "Tags may have changed. Use Info-tagify if necessary")))