From ac17c468d23fb2c7f9604f877c4cd5144fbc9452 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 27 Sep 2019 12:05:48 -0400 Subject: [PATCH] tools/pdf: revise comments --- modules/tools/pdf/config.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/tools/pdf/config.el b/modules/tools/pdf/config.el index 63b8aced5..b04753da2 100644 --- a/modules/tools/pdf/config.el +++ b/modules/tools/pdf/config.el @@ -54,10 +54,9 @@ (pdf-tools-install) (message "Building epdfinfo, this will take a moment...") ;; HACK We reset all `pdf-view-mode' buffers to fundamental mode so that - ;; `pdf-tools-install' has a change to reinitialize them as + ;; `pdf-tools-install' has a chance to reinitialize them as ;; `pdf-view-mode' buffers. This is necessary because `pdf-tools-install' - ;; won't do this to buffers that are already in pdf-view-mode for some - ;; reason -- even though those are the buffers we need to reload! + ;; won't do this to buffers that are already in pdf-view-mode. (dolist (buffer (doom-buffers-in-mode 'pdf-view-mode)) (with-current-buffer buffer (fundamental-mode))) (while compilation-in-progress