summaryrefslogtreecommitdiff
path: root/lisp/button.el
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-04-23 03:32:12 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-04-23 03:32:12 +0000
commit35136493f8a12853f92e81dd085907b2ae5efb03 (patch)
tree4c4e1fc25a447b388b2519e38b8c6082cd2ec7af /lisp/button.el
parent39f80270f6dd4c8f68bea3d3ba41631bca86961e (diff)
downloademacs-35136493f8a12853f92e81dd085907b2ae5efb03.tar.gz
(button): Inherit from link face on a tty.
Diffstat (limited to 'lisp/button.el')
-rw-r--r--lisp/button.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/button.el b/lisp/button.el
index 20c2c0692e6..8c3681854e7 100644
--- a/lisp/button.el
+++ b/lisp/button.el
@@ -53,8 +53,9 @@
;; Use color for the MS-DOS port because it doesn't support underline.
;; Also for the linux console.
-(defface button '((((type pc tty) (class color))
+(defface button '((((type pc) (class color))
(:foreground "lightblue"))
+ (((type tty)) (:inherit link))
(t :underline t))
"Default face used for buttons."
:group 'basic-faces)