From 5e2182f52f96ca94ef2400e1bfc414b2280acece Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Mon, 18 Jan 2021 15:28:01 +0530 Subject: [PATCH] emacs: Enable midnight minor mode for PDF view --- emacs/.config/doom/config.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs/.config/doom/config.el b/emacs/.config/doom/config.el index 01cc6d4..cc554a7 100644 --- a/emacs/.config/doom/config.el +++ b/emacs/.config/doom/config.el @@ -55,3 +55,5 @@ (setq rfc-mode-directory (expand-file-name "~/rfc/")) (setq org-noter-notes-search-path '("~/org/notes/")) + +(add-hook 'pdf-tools-enabled-hook 'pdf-view-midnight-minor-mode)