From 6f31d774b905c485b5bbc5bdf1c9ab861abc7819 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 28 Dec 2019 21:27:22 -0500 Subject: [PATCH] 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. --- modules/tools/pdf/config.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/tools/pdf/config.el b/modules/tools/pdf/config.el index 91f600e0e..d1385d5d6 100644 --- a/modules/tools/pdf/config.el +++ b/modules/tools/pdf/config.el @@ -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