aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward M. Reingold1994-04-01 16:57:56 +0000
committerEdward M. Reingold1994-04-01 16:57:56 +0000
commita0e9c22aad115544aeba583094bd5e4f4e13cf8f (patch)
treefaf5ff5eed8ef25c9228f35351fe8bcf4f9c6395
parent7e4f2521a451d8de730bf4e97d0db9a99c707907 (diff)
downloademacs-a0e9c22aad115544aeba583094bd5e4f4e13cf8f.tar.gz
emacs-a0e9c22aad115544aeba583094bd5e4f4e13cf8f.zip
(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.
-rw-r--r--lisp/textmodes/tex-mode.el4
1 files 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 @@
26 26
27;;; Code: 27;;; Code:
28 28
29(require 'comint) 29(require 'shell)
30(require 'compile) 30(require 'compile)
31 31
32;;;###autoload 32;;;###autoload
@@ -814,7 +814,7 @@ line numbers for the errors."
814 (let ((proc (get-process "tex-shell"))) 814 (let ((proc (get-process "tex-shell")))
815 (set-process-sentinel proc 'tex-shell-sentinel) 815 (set-process-sentinel proc 'tex-shell-sentinel)
816 (process-kill-without-query proc) 816 (process-kill-without-query proc)
817 (setq tex-shell-map (copy-keymap comint-mode-map)) 817 (setq tex-shell-map (copy-keymap shell-mode-map))
818 (tex-define-common-keys tex-shell-map) 818 (tex-define-common-keys tex-shell-map)
819 (use-local-map tex-shell-map) 819 (use-local-map tex-shell-map)
820 (run-hooks 'tex-shell-hook) 820 (run-hooks 'tex-shell-hook)