emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make the button face inherit from link


From: Dan Nicolaescu
Subject: make the button face inherit from link
Date: Mon, 22 Jun 2009 21:33:13 -0700 (PDT)

Last time this was discussed was during the feature freeze.
Any objection to making this change now?


--- lisp/button.el  5 Jan 2009 03:18:46 -0000   1.38
+++ lisp/button.el  21 Jun 2009 00:59:59 -0000
@@ -49,13 +49,7 @@
 
 ;; Globals
 
-;; 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)
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]