mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -68,6 +68,7 @@
|
|||||||
(with-current-buffer buffer (fundamental-mode)))
|
(with-current-buffer buffer (fundamental-mode)))
|
||||||
(while compilation-in-progress
|
(while compilation-in-progress
|
||||||
;; Block until `pdf-tools-install' is done
|
;; Block until `pdf-tools-install' is done
|
||||||
|
(redisplay)
|
||||||
(sleep-for 1))
|
(sleep-for 1))
|
||||||
;; HACK If pdf-tools was loaded by you opening a pdf file, once
|
;; HACK If pdf-tools was loaded by you opening a pdf file, once
|
||||||
;; `pdf-tools-install' completes, `pdf-view-mode' will throw an error
|
;; `pdf-tools-install' completes, `pdf-view-mode' will throw an error
|
||||||
|
Reference in New Issue
Block a user