Variable: pdf-view-dark-minor-mode

pdf-view-dark-minor-mode is a buffer-local variable defined in pdf-view.el.

Documentation

Non-nil if Pdf-View-Dark minor mode is enabled.

Use the command pdf-view-dark-minor-mode(var)/pdf-view-dark-minor-mode(fun) to change this variable.

Key Bindings

pdf-view-mode-map C-c C-d

Source Code

;; Defined in /nix/store/63h5z2vmzn0mfavcxi2idi23g5xcgkbl-emacs-packages-deps/share/emacs/site-lisp/elpa/pdf-tools-20260102.1101/pdf-view.el
(define-minor-mode pdf-view-dark-minor-mode
  "Mode for PDF documents with dark background.

This tells the various modes to use their face's dark colors."
  :group 'pdf-view
  (pdf-util-assert-pdf-buffer)
  ;; FIXME: This should really be run in a hook.
  (when (bound-and-true-p pdf-isearch-active-mode)
    (with-no-warnings
      (pdf-isearch-redisplay)
      (pdf-isearch-message
       (if pdf-view-dark-minor-mode "dark mode" "light mode")))))