]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-start-shell): Use shell-mode-map (instead of comint-mode-map) because
authorEdward M. Reingold <reingold@emr.cs.iit.edu>
Fri, 1 Apr 1994 16:57:56 +0000 (16:57 +0000)
committerEdward M. Reingold <reingold@emr.cs.iit.edu>
Fri, 1 Apr 1994 16:57:56 +0000 (16:57 +0000)
it's bit a nicer.

Change the "require" from comint to shell for the same reason.

lisp/textmodes/tex-mode.el

index 26466716529e052ae8abcec1fbe7b58372e5299d..ed06f218caff28647ae41aec4b704d518cf94ac3 100644 (file)
@@ -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)