diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 6b795768a57..43447bcc7ab 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -975,6 +975,7 @@ Mark is left at original location." (setq tex-shell-map (nconc (make-sparse-keymap) shell-mode-map)) (tex-define-common-keys tex-shell-map) (use-local-map tex-shell-map) + (compilation-minor-mode) (run-hooks 'tex-shell-hook) (while (zerop (buffer-size)) (sleep-for 1)))))