aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/terminal.el
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1994-05-07 01:20:07 +0000
committerKarl Heuer <[email protected]>1994-05-07 01:20:07 +0000
commit75a6b98e4d1c4834df7400a29687f1ea1cb934d2 (patch)
treec860ae498482e4faf15180a521f10a0868a11df6 /lisp/terminal.el
parentc2d4b6d94433f983cb40035f3b1d9f4b38e577b6 (diff)
(terminal-edit-mode): Doc fix.
(terminal-cease-edit): Reset the local keymap.
Diffstat (limited to 'lisp/terminal.el')
-rw-r--r--lisp/terminal.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/terminal.el b/lisp/terminal.el
index 0bec1908d4..33996e4bde 100644
--- a/lisp/terminal.el
+++ b/lisp/terminal.el
@@ -484,7 +484,7 @@ lets you type a terminal emulator command."
(defun terminal-edit-mode ()
"Major mode for editing the contents of a terminal-emulator buffer.
The editing commands are the same as in Fundamental mode,
-together with a command \\<terminal-edit-mode-map>to return to terminal emulation: \\[terminal-cease-edit]."
+together with a command \\<terminal-edit-map>to return to terminal emulation: \\[terminal-cease-edit]."
(use-local-map terminal-edit-map)
(setq major-mode 'terminal-edit-mode)
(setq mode-name "Terminal Edit")
@@ -540,6 +540,7 @@ together with a command \\<terminal-edit-mode-map>to return to terminal emulatio
(setq te-more-count -1)))
(setq mode-line-modified (default-value 'mode-line-modified))
+ (use-local-map terminal-map)
(setq major-mode 'terminal-mode)
(setq mode-name "terminal")
(setq mode-line-process '(":%s")))