Show the pdf compilation window while its building

Even if its output isn't entirely visible (because it redraws once a
second), this is better feedback that something is going on.
This commit is contained in:
Henrik Lissner 2019-12-28 21:27:22 -05:00
parent 678a5d1f7c
commit 6f31d774b9
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -68,6 +68,7 @@
(with-current-buffer buffer (fundamental-mode)))
(while compilation-in-progress
;; Block until `pdf-tools-install' is done
(redisplay)
(sleep-for 1))
;; HACK If pdf-tools was loaded by you opening a pdf file, once
;; `pdf-tools-install' completes, `pdf-view-mode' will throw an error