1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-19 14:41:11 -08:00

Be consistent in use of comint (instead of shell) mode.

This commit is contained in:
Edward M. Reingold 1994-12-19 19:09:39 +00:00
parent c5af0a1823
commit e8c04c88ef

View 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)