Open iago-pssjd opened 5 months ago
I had in my configuration file
(pdf-tools-install) (require 'pdf-tools) (add-hook 'pdf-view-mode-hook 'pdf-view-midnight-minor-mode) (setq pdf-view-midnight-colors '("#FFFF00" . "#000000")) (require 'doom-themes) (load-theme 'doom-acario-dark t)
Loading the doom theme after setting pdf-view-midnight-colors overwrites it, as I could check through C-h v pdf-view-midnight-colors, where the current value was that set to fg and bg as defined in https://github.com/doomemacs/themes/blob/master/themes/doom-acario-dark-theme.el
pdf-view-midnight-colors
C-h v pdf-view-midnight-colors
fg
bg
Is such behaviour documented? In that case, where? Could this be avoided?
Thanks!
I had in my configuration file
Loading the doom theme after setting
pdf-view-midnight-colors
overwrites it, as I could check throughC-h v pdf-view-midnight-colors
, where the current value was that set tofg
andbg
as defined in https://github.com/doomemacs/themes/blob/master/themes/doom-acario-dark-theme.elIs such behaviour documented? In that case, where? Could this be avoided?
Thanks!