Commit f8ac059a authored by Glenn Morris's avatar Glenn Morris
Browse files

(button): Use underline if supported, else fall back to color.

parent 8a4d2dee
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'.
......@@ -52,11 +52,12 @@
;; 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)
......
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