Mercurial > hg > dotemacs
changeset 215:0ef9d5be5151
pdf: make sure pdfs are viewable in dark mode
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Tue, 04 Jul 2023 19:23:05 -0400 |
parents | 59d84b7c1615 |
children | f676a67d74c9 |
files | dotemacs.el |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dotemacs.el +++ b/dotemacs.el @@ -26,7 +26,9 @@ (elpy-enable) - +(pdf-tools-install) +;; Let's make sure that pdfs always have a pleasantly dark complexion +(add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode) ;; I want sql-mode to have a couple of extra bells and whistles. ;; Indentation and upcasing of keywords. @@ -218,6 +220,7 @@ ("\\.php\\'" . web-mode) ;; Default php mode isn't as good ("\\.?hgrc\\'" . conf-mode) ("\\.spec\\'" . rpm-spec-mode) + ("\\.pdf\\'" . pdf-view-mode) ("hg-editor-[a-z0-9A-Z]+.commit\\.hg\\.txt\\'" . diff-mode) ("evo[A-Z0-9]\\{6\\}\\'" . mail-mode)) auto-mode-alist))