diff options
author | noa | 2024-11-15 03:07:09 +0800 |
---|---|---|
committer | noa | 2024-11-15 03:07:09 +0800 |
commit | 697e3be41beb3eb7e55f7de2085248f11bd9a762 (patch) | |
tree | cfad21bfe00ff06ca0badb0d5db5e205a04117b2 /emacs/init.el | |
parent | 27f487d06eb8adb0456b47827158eddb0c89fd14 (diff) |
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el index bd52da8..729f9b1 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -827,7 +827,11 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." frame-resize-pixelwise t) (use-package pdf-tools - :ensure t) + :when (display-graphic-p) + :ensure t + :magic ("%PDF" . pdf-view-mode) + :config + (pdf-tools-install :no-query)) (use-package webjump :custom |