aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 ebf39c2765c..e87365bcdac 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -237,7 +237,7 @@ Set by \\[tex-region], \\[tex-buffer], and \\[tex-file].")
237 237
238(defvar tex-shell-map nil 238(defvar tex-shell-map nil
239 "Keymap for the TeX shell. 239 "Keymap for the TeX shell.
240Inherits `comint-mode-map' with a few additions.") 240Inherits `shell-mode-map' with a few additions.")
241 241
242(defvar compare-windows-whitespace) ; Pacify the byte-compiler 242(defvar compare-windows-whitespace) ; Pacify the byte-compiler
243 243
@@ -825,7 +825,7 @@ line numbers for the errors."
825 (set-process-sentinel proc 'tex-shell-sentinel) 825 (set-process-sentinel proc 'tex-shell-sentinel)
826 (process-kill-without-query proc) 826 (process-kill-without-query proc)
827 (setq comint-prompt-regexp shell-prompt-pattern) 827 (setq comint-prompt-regexp shell-prompt-pattern)
828 (setq tex-shell-map (copy-keymap comint-mode-map)) 828 (setq tex-shell-map (copy-keymap shell-mode-map))
829 (tex-define-common-keys tex-shell-map) 829 (tex-define-common-keys tex-shell-map)
830 (use-local-map tex-shell-map) 830 (use-local-map tex-shell-map)
831 (run-hooks 'tex-shell-hook) 831 (run-hooks 'tex-shell-hook)