* lisp/button.el (button): Inherit from link face.

Suggested by Dan Nicolaescu.
This commit is contained in:
Chong Yidong 2011-07-05 16:44:55 -04:00
parent 3db614b0e4
commit 605dd5bf4d
2 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2011-07-05 Chong Yidong <cyd@stupidchicken.com>
* button.el (button): Inherit from link face. Suggested by Dan
Nicolaescu.
2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/gdb-mi.el: Fit in 80 columns.

View file

@ -54,10 +54,7 @@
;; Use color for the MS-DOS port because it doesn't support underline.
;; 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"))
(((supports :underline t)) :underline t)
(t (:foreground "lightblue")))
(defface button '((t :inherit link))
"Default face used for buttons."
:group 'basic-faces)