diff options
| -rw-r--r-- | lisp/terminal.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/terminal.el b/lisp/terminal.el index 0bec1908d42..33996e4bdee 100644 --- a/lisp/terminal.el +++ b/lisp/terminal.el | |||
| @@ -484,7 +484,7 @@ lets you type a terminal emulator command." | |||
| 484 | (defun terminal-edit-mode () | 484 | (defun terminal-edit-mode () |
| 485 | "Major mode for editing the contents of a terminal-emulator buffer. | 485 | "Major mode for editing the contents of a terminal-emulator buffer. |
| 486 | The editing commands are the same as in Fundamental mode, | 486 | The editing commands are the same as in Fundamental mode, |
| 487 | together with a command \\<terminal-edit-mode-map>to return to terminal emulation: \\[terminal-cease-edit]." | 487 | together with a command \\<terminal-edit-map>to return to terminal emulation: \\[terminal-cease-edit]." |
| 488 | (use-local-map terminal-edit-map) | 488 | (use-local-map terminal-edit-map) |
| 489 | (setq major-mode 'terminal-edit-mode) | 489 | (setq major-mode 'terminal-edit-mode) |
| 490 | (setq mode-name "Terminal Edit") | 490 | (setq mode-name "Terminal Edit") |
| @@ -540,6 +540,7 @@ together with a command \\<terminal-edit-mode-map>to return to terminal emulatio | |||
| 540 | (setq te-more-count -1))) | 540 | (setq te-more-count -1))) |
| 541 | 541 | ||
| 542 | (setq mode-line-modified (default-value 'mode-line-modified)) | 542 | (setq mode-line-modified (default-value 'mode-line-modified)) |
| 543 | (use-local-map terminal-map) | ||
| 543 | (setq major-mode 'terminal-mode) | 544 | (setq major-mode 'terminal-mode) |
| 544 | (setq mode-name "terminal") | 545 | (setq mode-name "terminal") |
| 545 | (setq mode-line-process '(":%s"))) | 546 | (setq mode-line-process '(":%s"))) |