Mercurial > emacs
diff lisp/textmodes/tex-mode.el @ 13399:ac7b3d7dafe8
(tex-send-command): Give meaningful error message.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sat, 04 Nov 1995 00:39:25 +0000 |
parents | a7e83f7eb499 |
children | af281a43a3bb |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Sat Nov 04 00:39:03 1995 +0000 +++ b/lisp/textmodes/tex-mode.el Sat Nov 04 00:39:25 1995 +0000 @@ -883,7 +883,7 @@ evaluates to a command string." (save-excursion (let* ((cmd (eval command)) - (proc (get-process "tex-shell")) + (proc (or (get-process "tex-shell") (error "No TeX subprocess"))) (buf (process-buffer proc)) (star (string-match "\\*" cmd)) (string