diff options
| author | Edward M. Reingold | 1994-12-19 19:09:39 +0000 |
|---|---|---|
| committer | Edward M. Reingold | 1994-12-19 19:09:39 +0000 |
| commit | e8c04c88ef6db97d6f4012172dfd2290aa5562cf (patch) | |
| tree | 58a4732f9058c2e0ec2eb2eeb958f46bb5121dec /lisp/textmodes | |
| parent | c5af0a1823ebdb1d15aaa043fe210fd35b78fc66 (diff) | |
| download | emacs-e8c04c88ef6db97d6f4012172dfd2290aa5562cf.tar.gz emacs-e8c04c88ef6db97d6f4012172dfd2290aa5562cf.zip | |
Be consistent in use of comint (instead of shell) mode.
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/tex-mode.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." | |||
| 824 | (let ((proc (get-process "tex-shell"))) | 824 | (let ((proc (get-process "tex-shell"))) |
| 825 | (set-process-sentinel proc 'tex-shell-sentinel) | 825 | (set-process-sentinel proc 'tex-shell-sentinel) |
| 826 | (process-kill-without-query proc) | 826 | (process-kill-without-query proc) |
| 827 | (setq tex-shell-map (nconc (make-sparse-keymap) shell-mode-map)) | 827 | (setq comint-prompt-regexp shell-prompt-pattern) |
| 828 | (setq tex-shell-map (copy-keymap comint-mode-map)) | ||
| 828 | (tex-define-common-keys tex-shell-map) | 829 | (tex-define-common-keys tex-shell-map) |
| 829 | (use-local-map tex-shell-map) | 830 | (use-local-map tex-shell-map) |
| 830 | (run-hooks 'tex-shell-hook) | 831 | (run-hooks 'tex-shell-hook) |