Mercurial > emacs
changeset 10190:2569f4d3073e
Be consistent in use of comint (instead of shell) mode.
author | Edward M. Reingold <reingold@emr.cs.iit.edu> |
---|---|
date | Mon, 19 Dec 1994 19:09:39 +0000 |
parents | b2d6d69b7707 |
children | f81679f84f68 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)