From: Edward M. Reingold Date: Fri, 1 Apr 1994 16:57:56 +0000 (+0000) Subject: (tex-start-shell): Use shell-mode-map (instead of comint-mode-map) because X-Git-Tag: emacs-19.34~9220 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0e9c22aad115544aeba583094bd5e4f4e13cf8f;p=emacs.git (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. --- 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)