]> git.eshelyaron.com Git - emacs.git/commitdiff
Be consistent in use of comint (instead of shell) mode.
authorEdward M. Reingold <reingold@emr.cs.iit.edu>
Mon, 19 Dec 1994 19:09:39 +0000 (19:09 +0000)
committerEdward M. Reingold <reingold@emr.cs.iit.edu>
Mon, 19 Dec 1994 19:09:39 +0000 (19:09 +0000)
lisp/textmodes/tex-mode.el

index abc1da68bfbc54e6daccc9a95082ce776a70aee2..ebf39c2765cacb4f1c56e6a8b227cf0d82b6fc3f 100644 (file)
@@ -824,7 +824,8 @@ line numbers for the errors."
     (let ((proc (get-process "tex-shell")))
       (set-process-sentinel proc 'tex-shell-sentinel)
       (process-kill-without-query proc)
-      (setq tex-shell-map (nconc (make-sparse-keymap) shell-mode-map))
+      (setq comint-prompt-regexp shell-prompt-pattern)
+      (setq tex-shell-map (copy-keymap comint-mode-map))
       (tex-define-common-keys tex-shell-map)
       (use-local-map tex-shell-map)
       (run-hooks 'tex-shell-hook)