diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-22 16:51:43 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-22 16:51:43 +0000 |
commit | 936f837ef4097df55fe3b10b60a7f8bbc331f742 (patch) | |
tree | ebf940518db7ff7237cf3be5e60474763f8287f2 | |
parent | 4a6f186932f2eedfd302528bad63fd14655828fa (diff) | |
download | emacs-936f837ef4097df55fe3b10b60a7f8bbc331f742.tar.gz |
(font-lock-make-faces): Set threshold for "light color"
at .6 of the total for white.
-rw-r--r-- | lisp/font-lock.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 388efef6d6c..f97722ac311 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1181,7 +1181,7 @@ See `font-lock-make-face' and `list-faces-display'." 'dark)) ((< (apply '+ (x-color-values (cdr (assq 'background-color params)))) - (/ (apply '+ (x-color-values "white")) 3)) + (* (apply '+ (x-color-values "white")) .6)) 'dark) (t 'light))))) (if (null font-lock-face-attributes) |