From 683bb8f5cc458f1604c6cc983d2170dae2b21cde Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Wed, 17 Feb 2021 12:40:54 +0100 Subject: [PATCH] PDF: Disable midnight mode by default. --- .emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index c1712a2d..adc94e72 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -281,7 +281,7 @@ (when (require 'pdf-tools nil t) ;; (setq pdf-view-midnight-colors '("#ffffff" . "#000000")) (setq pdf-view-midnight-colors '("#ff9900" . "#0a0a12" )) ; Amber - (add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode) + ;; (add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode) ; Most PDFs are not meant for this, so maybe don't set as default. (pdf-tools-install t t t)) (when (require 'rainbow-mode nil t)