diff options
| author | Karl Heuer | 1995-04-25 22:28:58 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-04-25 22:28:58 +0000 |
| commit | 2c609f537f34ad51999d2d50a9663d73029b348b (patch) | |
| tree | 0cd259d453fdce12d10c4fd8994575066a2e7bb2 | |
| parent | 1cd3732c0aee222433694aaa3be2f3536d0d983e (diff) | |
| download | emacs-2c609f537f34ad51999d2d50a9663d73029b348b.tar.gz emacs-2c609f537f34ad51999d2d50a9663d73029b348b.zip | |
(Info-edit-mode, Info-cease-edit): Use force-mode-line-update.
| -rw-r--r-- | lisp/info.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/info.el b/lisp/info.el index 97b717d9876..0501fab90f3 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -1561,8 +1561,7 @@ which returns to Info mode for browsing. | |||
| 1561 | (setq mode-name "Info Edit") | 1561 | (setq mode-name "Info Edit") |
| 1562 | (kill-local-variable 'mode-line-buffer-identification) | 1562 | (kill-local-variable 'mode-line-buffer-identification) |
| 1563 | (setq buffer-read-only nil) | 1563 | (setq buffer-read-only nil) |
| 1564 | ;; Make mode line update. | 1564 | (force-mode-line-update) |
| 1565 | (set-buffer-modified-p (buffer-modified-p)) | ||
| 1566 | (buffer-enable-undo (current-buffer)) | 1565 | (buffer-enable-undo (current-buffer)) |
| 1567 | (run-hooks 'Info-edit-mode-hook)) | 1566 | (run-hooks 'Info-edit-mode-hook)) |
| 1568 | 1567 | ||
| @@ -1588,8 +1587,7 @@ Allowed only if variable `Info-enable-edit' is non-nil." | |||
| 1588 | (setq mode-name "Info") | 1587 | (setq mode-name "Info") |
| 1589 | (Info-set-mode-line) | 1588 | (Info-set-mode-line) |
| 1590 | (setq buffer-read-only t) | 1589 | (setq buffer-read-only t) |
| 1591 | ;; Make mode line update. | 1590 | (force-mode-line-update) |
| 1592 | (set-buffer-modified-p (buffer-modified-p)) | ||
| 1593 | (and (marker-position Info-tag-table-marker) | 1591 | (and (marker-position Info-tag-table-marker) |
| 1594 | (buffer-modified-p) | 1592 | (buffer-modified-p) |
| 1595 | (message "Tags may have changed. Use Info-tagify if necessary"))) | 1593 | (message "Tags may have changed. Use Info-tagify if necessary"))) |