aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/tex-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index e87365bcdac..ba4482c57b8 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -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 shell-mode-map)) 828 (setq tex-shell-map (nconc (make-sparse-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)