diff options
| author | Karl Heuer | 1995-04-25 22:24:57 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-04-25 22:24:57 +0000 |
| commit | d3a4a9867717ddd6daeb6ab576a600c628c9f040 (patch) | |
| tree | 37dffb43f10b25ef82bbb51fe1f4ecdbb2301e1d | |
| parent | ffedf987d7259afb92bed3f8b17499f6297af86f (diff) | |
| download | emacs-d3a4a9867717ddd6daeb6ab576a600c628c9f040.tar.gz emacs-d3a4a9867717ddd6daeb6ab576a600c628c9f040.zip | |
(te-edit, te-more-break-unwind): Use force-mode-line-update.
(te-update-pending-output-display): Use force-mode-line-update.
| -rw-r--r-- | lisp/terminal.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/terminal.el b/lisp/terminal.el index 04ed04ba811..6dbd10a2a85 100644 --- a/lisp/terminal.el +++ b/lisp/terminal.el | |||
| @@ -499,7 +499,7 @@ together with a command \\<terminal-edit-map>to return to terminal emulation: \\ | |||
| 499 | "Start editing the terminal emulator buffer with ordinary Emacs commands." | 499 | "Start editing the terminal emulator buffer with ordinary Emacs commands." |
| 500 | (interactive) | 500 | (interactive) |
| 501 | (terminal-edit-mode) | 501 | (terminal-edit-mode) |
| 502 | (set-buffer-modified-p (buffer-modified-p)) | 502 | (force-mode-line-update) |
| 503 | ;; Make mode line update. | 503 | ;; Make mode line update. |
| 504 | (if (eq (key-binding "\C-c\C-c") 'terminal-cease-edit) | 504 | (if (eq (key-binding "\C-c\C-c") 'terminal-cease-edit) |
| 505 | (message "Editing: Type C-c C-c to return to Terminal") | 505 | (message "Editing: Type C-c C-c to return to Terminal") |
| @@ -589,7 +589,7 @@ together with a command \\<terminal-edit-map>to return to terminal emulation: \\ | |||
| 589 | (set-process-filter te-process te-more-old-filter) | 589 | (set-process-filter te-process te-more-old-filter) |
| 590 | (goto-char te-more-old-point) | 590 | (goto-char te-more-old-point) |
| 591 | (setq mode-line-format te-more-old-mode-line-format) | 591 | (setq mode-line-format te-more-old-mode-line-format) |
| 592 | (set-buffer-modified-p (buffer-modified-p)) | 592 | (force-mode-line-update) |
| 593 | (let ((buffer-read-only nil)) | 593 | (let ((buffer-read-only nil)) |
| 594 | (cond ((eobp)) | 594 | (cond ((eobp)) |
| 595 | (terminal-more-break-insertion | 595 | (terminal-more-break-insertion |
| @@ -993,8 +993,7 @@ move to start of new line, clear to end of line." | |||
| 993 | (setq te-pending-output-info "") | 993 | (setq te-pending-output-info "") |
| 994 | (setq te-pending-output-info (format "(%dK chars output pending) " | 994 | (setq te-pending-output-info (format "(%dK chars output pending) " |
| 995 | (/ (+ length 512) 1024)))))) | 995 | (/ (+ length 512) 1024)))))) |
| 996 | ;; update mode line | 996 | (force-mode-line-update)) |
| 997 | (set-buffer-modified-p (buffer-modified-p))) | ||
| 998 | 997 | ||
| 999 | 998 | ||
| 1000 | (defun te-sentinel (process message) | 999 | (defun te-sentinel (process message) |