From: Edward M. Reingold Date: Mon, 19 Dec 1994 19:09:39 +0000 (+0000) Subject: Be consistent in use of comint (instead of shell) mode. X-Git-Tag: emacs-19.34~5666 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e8c04c88ef6db97d6f4012172dfd2290aa5562cf;p=emacs.git Be consistent in use of comint (instead of shell) mode. --- diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index abc1da68bfb..ebf39c2765c 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -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)