diff options
| author | Andreas Politz <politza@hochschule-trier.de> | 2018-09-25 08:29:02 +0200 |
|---|---|---|
| committer | Andreas Politz <politza@hochschule-trier.de> | 2018-09-25 08:29:02 +0200 |
| commit | 3fd4e8f33f4c3f1448988f065be71edd03c3494b (patch) | |
| tree | 0b400c8dc12c5af9623da7f46e30e890867e566c /lisp | |
| parent | 6ff2ae1b2e0edab15bef2411107abb94dd54364a (diff) | |
Avoid race-condition when quitting the server
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/pdf-info.el | 3 |
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) |
