diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-11-04 00:39:25 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-11-04 00:39:25 +0000 |
commit | 458d0c7d9430f7af66e8ddc189cf433116829c6a (patch) | |
tree | 91e1d8d519dc1d77efee011a3728473059a6262e /lisp/textmodes | |
parent | e7b28c60f8f84f60a5b5f94f5cc95a03f68fa022 (diff) | |
download | emacs-458d0c7d9430f7af66e8ddc189cf433116829c6a.tar.gz |
(tex-send-command): Give meaningful error message.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/tex-mode.el | 2 |
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 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 |