From a0e9c22aad115544aeba583094bd5e4f4e13cf8f Mon Sep 17 00:00:00 2001 From: "Edward M. Reingold" Date: Fri, 1 Apr 1994 16:57:56 +0000 Subject: [PATCH] (tex-start-shell): Use shell-mode-map (instead of comint-mode-map) because it's bit a nicer. Change the "require" from comint to shell for the same reason. --- lisp/textmodes/tex-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 26466716529..ed06f218caf 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -26,7 +26,7 @@ ;;; Code: -(require 'comint) +(require 'shell) (require 'compile) ;;;###autoload @@ -814,7 +814,7 @@ 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 (copy-keymap comint-mode-map)) + (setq tex-shell-map (copy-keymap shell-mode-map)) (tex-define-common-keys tex-shell-map) (use-local-map tex-shell-map) (run-hooks 'tex-shell-hook) -- 2.39.5