aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-11-04 00:39:25 +0000
committerKarl Heuer1995-11-04 00:39:25 +0000
commitc93931c390d8cf5fb0455f4afb03e2503a64755b (patch)
treeea0ec4691f267c2b3e8d2832c924f8fab24923c9
parentdc8cec25f01de86092f4b1ccbd086c402157c7a8 (diff)
downloademacs-c93931c390d8cf5fb0455f4afb03e2503a64755b.tar.gz
emacs-c93931c390d8cf5fb0455f4afb03e2503a64755b.zip
(tex-send-command): Give meaningful error message.
-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 3a28ea73e0e..427583a88f8 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -883,7 +883,7 @@ substitution will be made in COMMAND. COMMAND can be any expression that
883evaluates to a command string." 883evaluates to a command string."
884 (save-excursion 884 (save-excursion
885 (let* ((cmd (eval command)) 885 (let* ((cmd (eval command))
886 (proc (get-process "tex-shell")) 886 (proc (or (get-process "tex-shell") (error "No TeX subprocess")))
887 (buf (process-buffer proc)) 887 (buf (process-buffer proc))
888 (star (string-match "\\*" cmd)) 888 (star (string-match "\\*" cmd))
889 (string 889 (string