summaryrefslogtreecommitdiff
path: root/lisp/term.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-04-25 22:25:25 +0000
committerKarl Heuer <kwzh@gnu.org>1995-04-25 22:25:25 +0000
commita2cf7806335f9831d7e1f84e3f5a9d126b21fae2 (patch)
tree417fbefd5f1beba7aef347144c9619f7d42a50cc /lisp/term.el
parent8093b88ae3cc35b30f2c834eaed78a9a1ec71e32 (diff)
downloademacs-a2cf7806335f9831d7e1f84e3f5a9d126b21fae2.tar.gz
(term-update-mode-line, term-process-pager): Use force-mode-line-update.
(term-pager-continue): Use force-mode-line-update.
Diffstat (limited to 'lisp/term.el')
-rw-r--r--lisp/term.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/term.el b/lisp/term.el
index e21b354a9dd..3ab6c0711e2 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -770,7 +770,7 @@ you type \\[term-send-input] which sends the current line to the inferior."
(if (term-in-char-mode)
(if (term-pager-enabled) '(": char page %s") '(": char %s"))
(if (term-pager-enabled) '(": line page %s") '(": line %s"))))
- (set-buffer-modified-p (buffer-modified-p))) ;; Force mode line update.
+ (force-mode-line-update))
(defun term-check-proc (buffer)
"True if there is a process associated w/buffer BUFFER, and
@@ -2545,7 +2545,7 @@ The top-most line is line 0."
mode-line-buffer-identification
" [Type ? for help] "
"%-"))
- (set-buffer-modified-p (buffer-modified-p))) ;;No-op, but updates mode line.
+ (force-mode-line-update))
(defun term-pager-line (lines)
(interactive "p")
@@ -2658,7 +2658,7 @@ all pending output has been dealt with."))
(use-local-map term-pager-old-local-map)
(setq term-pager-old-local-map nil)
(setq mode-line-format term-old-mode-line-format)
- (set-buffer-modified-p (buffer-modified-p)) ;; Updates mode line.
+ (force-mode-line-update)
(setq term-pager-count new-count)
(set-process-filter process term-pager-old-filter)
(funcall term-pager-old-filter process "")