~octaspire/dotfiles

d43f8e70bafcf613c5b838db2e50287bb1f778c9 — octaspire 4 months ago 71c2e4e
GNU/Emacs: restore accidentally deleted midnight mode hook
1 files changed, 1 insertions(+), 1 deletions(-)

M emacs/.config/emacs/init.el
M emacs/.config/emacs/init.el => emacs/.config/emacs/init.el +1 -1
@@ 382,13 382,13 @@ adding it to the kill ring as a new kill."
    :config (progn (when (eq system-type 'darwin)
		     (setq pdf-info-epdfinfo-program "/usr/local/bin/epdfinfo"))
		   (pdf-tools-install)
		   (add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode)
		   (setq pdf-view-midnight-colors (if octaspire/dark-mode
						      '("#b0c09f" . "#303030")
						    '("#686b93" . "#fdfde7")))
		   (add-hook 'doc-view-mode-hook (lambda ()
						   (when (eq doc-view-doc-type 'pdf)
						     (pdf-view-mode)))))))

(use-package s
  :ensure t)