diff options
| -rw-r--r-- | lisp/terminal.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/terminal.el b/lisp/terminal.el index 59b4fb7769b..7b2f4d76adb 100644 --- a/lisp/terminal.el +++ b/lisp/terminal.el | |||
| @@ -1120,8 +1120,9 @@ subprocess started." | |||
| 1120 | (if (null height) (setq height (- (window-height (selected-window)) 1))) | 1120 | (if (null height) (setq height (- (window-height (selected-window)) 1))) |
| 1121 | (terminal-mode) | 1121 | (terminal-mode) |
| 1122 | (setq te-width width te-height height) | 1122 | (setq te-width width te-height height) |
| 1123 | (setq te-terminal-name (concat te-terminal-name-prefix te-width | 1123 | (setq te-terminal-name (concat te-terminal-name-prefix |
| 1124 | te-height)) | 1124 | (number-to-string te-width) |
| 1125 | (number-to-string te-height))) | ||
| 1125 | (setq mode-line-buffer-identification | 1126 | (setq mode-line-buffer-identification |
| 1126 | (list (format "Emacs terminal %dx%d: %%b " te-width te-height) | 1127 | (list (format "Emacs terminal %dx%d: %%b " te-width te-height) |
| 1127 | 'te-pending-output-info)) | 1128 | 'te-pending-output-info)) |