I use pdf-tools to read pdf in emacs. You can highlight a text in the pdf and do C-c C-a h to highlight the text.

In normal light mode, the text will be yellow and you can customize it via M-x customize-face. I could not figure out how to change this in midnight mode. Apparently, there is only option for the light mode.

Any suggestions?

  • When you're in midnight mode, put your cursor on that highlighted text and use C-u C-x =. That'll tell which face is used, i.e., which you want to customize. – Drew Apr 21 at 4:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.