summaryrefslogtreecommitdiff
path: root/lisp/pdf-info.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/pdf-info.el')
-rw-r--r--lisp/pdf-info.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/pdf-info.el b/lisp/pdf-info.el
index 33943de..3eeacf8 100644
--- a/lisp/pdf-info.el
+++ b/lisp/pdf-info.el
@@ -382,7 +382,8 @@ error."
(accept-process-output (pdf-info-process) 0.01))
(when (and (not done)
(not (eq (process-status (pdf-info-process))
- 'run)))
+ 'run))
+ (not (eq cmd 'quit)))
(error "The epdfinfo server quit unexpectedly."))
(cond
((null status) response)