Closed emacsomancer closed 1 year ago
The new update changed this configuration: (setq pdf-view-midnight-invert t)
the variable pdf-view-midnight-invert
now takes values 0, 1 or 2, instead of boolean like before.
Refer to: https://github.com/vedang/pdf-tools/pull/69#discussion_r805407080
You can use either 1 or 2 for midnight mode enable, one of them is grayscale and another inverts the colors based on the lightness. The pull request you linked was accepted, and then the customization variable was changed.
Describe the bug Fails to start with error
Lisp error: (error "epdfinfo: Expected 0 or 1:2")
. This is on a Void Linux machine running EXWM. The sameinit.el
works fine on other machines (not using EXWM or Void).Steps to Reproduce the behaviour
Lisp error: (error "epdfinfo: Expected 0 or 1:2")
What is the expected behaviour? Open PDFs and enable midnite mode.
Desktop Please complete the following information:
Your pdf-tools install Please complete the following information:
pdf-tools
Version: 20230117.62pdf-tools
customization / configuration that you useAdditional context