alphapapa / prism.el

Disperse Lisp forms (and other languages) into a spectrum of colors by depth
GNU General Public License v3.0
287 stars 4 forks source link

Background color not always defined on terminal #22

Closed bram85 closed 4 months ago

bram85 commented 1 year ago

Like you already experienced (and fixed) with ement.el, the same thing could happen in prism.el.

There are a few instances of (face-attribute 'default :background) which may be "unspecified-bg", which is a color that cannot be blended.

This results in error messages at startup when running emacs -nw in some terminals:

prism-blend: Wrong type argument: number-or-marker-p, nil

alphapapa commented 1 year ago

Thanks.