changeset 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 2b18ef667bde
children 4a57cda2a39a
files lisp/textmodes/tex-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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