emacs-devel
[Top][All Lists]
Advanced

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

Minimal patch: Use link face as default for button face


From: Lennart Borgman
Subject: Minimal patch: Use link face as default for button face
Date: Sun, 25 Jun 2006 10:09:22 +0200
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Now that there is a face called 'link should not this be used in button.el?


diff -u -r1.21 button.el
--- button.el   6 Feb 2006 14:33:32 -0000       1.21
+++ button.el   25 Jun 2006 08:07:32 -0000
@@ -52,9 +52,8 @@
;; Globals

;; Use color for the MS-DOS port because it doesn't support underline.
-(defface button '((((type pc) (class color))
-                  (:foreground "lightblue"))
-                 (t :underline t))
+(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]