display-color-p, if fboundp, instead of window-system.
+2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * textmodes/ispell.el (ispell-highlight-spelling-error): Use
+ display-color-p, if fboundp, instead of window-system.
+
2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
* calendar/appt.el (appt-disp-window): Use display-multi-frame-p
(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))))