Skip to content

Instantly share code, notes, and snippets.

@darrik
Created June 7, 2016 12:24
Show Gist options
  • Save darrik/ec0baf69f33072afd5879dfc614b94cd to your computer and use it in GitHub Desktop.
Save darrik/ec0baf69f33072afd5879dfc614b94cd to your computer and use it in GitHub Desktop.
Emacs remove-background-from-font-locks
(defun darrik/remove-background-from-font-locks ()
"Remove background from font-lock-*."
(mapc
(lambda (face)
(when (string-prefix-p "font-lock-" (symbol-name face))
(set-face-attribute face nil :background nil)))
(face-list)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment