+2007-04-26 Glenn Morris <rgm@gnu.org>
+
+ * button.el (button): Use underline if supported, else fall back
+ to color.
+
2007-04-25 Richard Stallman <rms@gnu.org>
* hi-lock.el (hi-lock-file-patterns-policy): Default to `ask'.
;; Globals
;; Use color for the MS-DOS port because it doesn't support underline.
-;; Also for the linux console.
+;; FIXME if MS-DOS correctly answers the (supports) question, it need
+;; no longer be a special case.
(defface button '((((type pc) (class color))
(:foreground "lightblue"))
- (((type tty)) (:inherit link))
- (t :underline t))
+ (((supports :underline t)) :underline t)
+ (t (:foreground "lightblue")))
"Default face used for buttons."
:group 'basic-faces)