changeset 7374:e3cca19763ae

(terminal-edit-mode): Doc fix. (terminal-cease-edit): Reset the local keymap.
author Karl Heuer <kwzh@gnu.org>
date Sat, 07 May 1994 01:20:07 +0000
parents 451602bf12e4
children d04f5eb7098b
files lisp/terminal.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/terminal.el	Sat May 07 01:17:18 1994 +0000
+++ b/lisp/terminal.el	Sat May 07 01:20:07 1994 +0000
@@ -484,7 +484,7 @@
 (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 @@
       (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")))