tools/pdf: revise comments
This commit is contained in:
parent
38e445afe7
commit
ac17c468d2
1 changed files with 2 additions and 3 deletions
|
@ -54,10 +54,9 @@
|
||||||
(pdf-tools-install)
|
(pdf-tools-install)
|
||||||
(message "Building epdfinfo, this will take a moment...")
|
(message "Building epdfinfo, this will take a moment...")
|
||||||
;; HACK We reset all `pdf-view-mode' buffers to fundamental mode so that
|
;; 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'
|
;; `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
|
;; won't do this to buffers that are already in pdf-view-mode.
|
||||||
;; reason -- even though those are the buffers we need to reload!
|
|
||||||
(dolist (buffer (doom-buffers-in-mode 'pdf-view-mode))
|
(dolist (buffer (doom-buffers-in-mode 'pdf-view-mode))
|
||||||
(with-current-buffer buffer (fundamental-mode)))
|
(with-current-buffer buffer (fundamental-mode)))
|
||||||
(while compilation-in-progress
|
(while compilation-in-progress
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue