]> git.eshelyaron.com Git - emacs.git/commitdiff
(terminal-edit-mode): Doc fix.
authorKarl Heuer <kwzh@gnu.org>
Sat, 7 May 1994 01:20:07 +0000 (01:20 +0000)
committerKarl Heuer <kwzh@gnu.org>
Sat, 7 May 1994 01:20:07 +0000 (01:20 +0000)
(terminal-cease-edit): Reset the local keymap.

lisp/terminal.el

index 0bec1908d42e01d62260b9c6fe306b805dbf9e1f..33996e4bdeeaa27a7a3cc808f47390480ac6c7d1 100644 (file)
@@ -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")))