aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/textmodes/tex-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 3da6e4e1124..10ee10243ad 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -3512,7 +3512,8 @@ There might be text before point."
3512 (lambda (process _event) 3512 (lambda (process _event)
3513 (when (eq (process-status process) 'exit) 3513 (when (eq (process-status process) 'exit)
3514 (unwind-protect 3514 (unwind-protect
3515 (when (eq process tex-chktex--process) 3515 (when (eq process
3516 (with-current-buffer source tex-chktex--process))
3516 (with-current-buffer (process-buffer process) 3517 (with-current-buffer (process-buffer process)
3517 (goto-char (point-min)) 3518 (goto-char (point-min))
3518 (cl-loop 3519 (cl-loop