(tex-send-command): Give meaningful error message.
This commit is contained in:
parent
dc8cec25f0
commit
c93931c390
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue