Mercurial > emacs
changeset 30546:26e5d26a83ed
(ispell-highlight-spelling-error): Use
display-color-p, if fboundp, instead of window-system.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 01 Aug 2000 06:24:28 +0000 |
parents | 4fc9847efaf6 |
children | 3c9d5a5f0e2b |
files | lisp/textmodes/ispell.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el Mon Jul 31 15:41:39 2000 +0000 +++ b/lisp/textmodes/ispell.el Tue Aug 01 06:24:28 2000 +0000 @@ -2009,7 +2009,9 @@ (xemacsp (ispell-highlight-spelling-error-xemacs start end highlight)) ((and (not version18p) - (featurep 'faces) window-system) + (featurep 'faces) + (or (and (fboundp 'display-color-p) (display-color-p)) + window-system)) (ispell-highlight-spelling-error-overlay start end highlight)) (t (ispell-highlight-spelling-error-generic start end highlight refresh))))