# HG changeset patch # User Edward M. Reingold # Date 787864179 0 # Node ID 2569f4d3073e1f839d89c0c304acd7001b6d5229 # Parent b2d6d69b77070200f7185d15ff4c2e4071bde219 Be consistent in use of comint (instead of shell) mode. diff -r b2d6d69b7707 -r 2569f4d3073e lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Sun Dec 18 21:20:07 1994 +0000 +++ b/lisp/textmodes/tex-mode.el Mon Dec 19 19:09:39 1994 +0000 @@ -824,7 +824,8 @@ (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)