bbatsov / zenburn-emacs

The Zenburn colour theme ported to Emacs
GNU General Public License v3.0
978 stars 269 forks source link

What is the reasoning behind :background zenburn-bg? #278

Open angrybacon opened 7 years ago

angrybacon commented 7 years ago

For many faces (other than default), the background is set to zenburn-bg. This makes it pretty verbose to update those faces them when customizing the default background.

Another option I currently use is the following:

(zenburn-with-color-variables
  (mapc
   (lambda (face)
     (when (eq (face-attribute face :background) zenburn-bg)
       (set-face-attribute face nil :background 'unspecified)))
   (face-list)))

Which obviously doesn't work unless run after all the packages are loaded.