]> git.eshelyaron.com Git - emacs.git/commitdiff
Make keymap for tex-shell the shell-mode-map.
authorEdward M. Reingold <reingold@emr.cs.iit.edu>
Wed, 21 Dec 1994 15:54:30 +0000 (15:54 +0000)
committerEdward M. Reingold <reingold@emr.cs.iit.edu>
Wed, 21 Dec 1994 15:54:30 +0000 (15:54 +0000)
lisp/textmodes/tex-mode.el

index ebf39c2765cacb4f1c56e6a8b227cf0d82b6fc3f..e87365bcdac191a3bf9bef691a5b6c60a387d0db 100644 (file)
@@ -237,7 +237,7 @@ Set by \\[tex-region], \\[tex-buffer], and \\[tex-file].")
 
 (defvar tex-shell-map nil
   "Keymap for the TeX shell.
-Inherits `comint-mode-map' with a few additions.")
+Inherits `shell-mode-map' with a few additions.")
 
 (defvar compare-windows-whitespace)    ; Pacify the byte-compiler
 
@@ -825,7 +825,7 @@ line numbers for the errors."
       (set-process-sentinel proc 'tex-shell-sentinel)
       (process-kill-without-query proc)
       (setq comint-prompt-regexp shell-prompt-pattern)
-      (setq tex-shell-map (copy-keymap comint-mode-map))
+      (setq tex-shell-map (copy-keymap shell-mode-map))
       (tex-define-common-keys tex-shell-map)
       (use-local-map tex-shell-map)
       (run-hooks 'tex-shell-hook)