New answers tagged

1 vote
Accepted

How to set a specific background color for a certain string in text?

If you want Emacs-wide highlighting do (setq my-hi-lock-patterns '(("covid\\(-19\\)?" (0 'hi-pink t)) ("corona" (0 'hi-yellow t)))) (add-hook 'find-file-hook ...
user avatar

Top 50 recent answers are included