Commit c93931c3 authored by Karl Heuer's avatar Karl Heuer

(tex-send-command): Give meaningful error message.

parent dc8cec25
......@@ -883,7 +883,7 @@ substitution will be made in COMMAND. COMMAND can be any expression that
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment