Commit 3b5fab87 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(ispell-highlight-spelling-error): Use

display-color-p, if fboundp, instead of window-system.
parent 7e2605e7
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
......
......@@ -2009,7 +2009,9 @@ The variable `ispell-highlight-face' selects the face to use for highlighting."
(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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment