diff options
| author | Nick Roberts | 2007-04-23 03:32:12 +0000 |
|---|---|---|
| committer | Nick Roberts | 2007-04-23 03:32:12 +0000 |
| commit | 35136493f8a12853f92e81dd085907b2ae5efb03 (patch) | |
| tree | 4c4e1fc25a447b388b2519e38b8c6082cd2ec7af | |
| parent | 39f80270f6dd4c8f68bea3d3ba41631bca86961e (diff) | |
| download | emacs-35136493f8a12853f92e81dd085907b2ae5efb03.tar.gz emacs-35136493f8a12853f92e81dd085907b2ae5efb03.zip | |
(button): Inherit from link face on a tty.
| -rw-r--r-- | lisp/button.el | 3 |
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 @@ | |||
| 53 | 53 | ||
| 54 | ;; Use color for the MS-DOS port because it doesn't support underline. | 54 | ;; Use color for the MS-DOS port because it doesn't support underline. |
| 55 | ;; Also for the linux console. | 55 | ;; Also for the linux console. |
| 56 | (defface button '((((type pc tty) (class color)) | 56 | (defface button '((((type pc) (class color)) |
| 57 | (:foreground "lightblue")) | 57 | (:foreground "lightblue")) |
| 58 | (((type tty)) (:inherit link)) | ||
| 58 | (t :underline t)) | 59 | (t :underline t)) |
| 59 | "Default face used for buttons." | 60 | "Default face used for buttons." |
| 60 | :group 'basic-faces) | 61 | :group 'basic-faces) |