[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in change in button.el?
From: |
Glenn Morris |
Subject: |
Re: Bug in change in button.el? |
Date: |
Tue, 24 Apr 2007 17:59:25 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Richard Stallman wrote:
> Do you mean the change to inherit from `link'?
> I thought we did not want buttons to look just like links.
> Also, what the definition of `link' does is use color and underlining
> together, although each one of them works only when supported.
Then I guess this change is better. The (type pc) test can be removed
if MS-DOS correctly answers the (supports) question.
*** button.el 23 Apr 2007 03:32:12 -0000 1.27
--- button.el 24 Apr 2007 22:00:18 -0000
***************
*** 52,62 ****
;; Globals
;; Use color for the MS-DOS port because it doesn't support underline.
- ;; Also for the linux console.
(defface button '((((type pc) (class color))
(:foreground "lightblue"))
! (((type tty)) (:inherit link))
! (t :underline t))
"Default face used for buttons."
:group 'basic-faces)
--- 52,61 ----
;; Globals
;; Use color for the MS-DOS port because it doesn't support underline.
(defface button '((((type pc) (class color))
(:foreground "lightblue"))
! (((supports :underline t)) :underline t)
! (t (:foreground "lightblue")))
"Default face used for buttons."
:group 'basic-faces)
- Bug in change in button.el?, Richard Stallman, 2007/04/23
- Re: Bug in change in button.el?, Glenn Morris, 2007/04/23
- Re: Bug in change in button.el?, Eli Zaretskii, 2007/04/24
- Re: Bug in change in button.el?, Richard Stallman, 2007/04/24
- Re: Bug in change in button.el?,
Glenn Morris <=
- Re: Bug in change in button.el?, Nick Roberts, 2007/04/24
- Re: Bug in change in button.el?, Lennart Borgman (gmail), 2007/04/24
- RE: Bug in change in button.el?, Drew Adams, 2007/04/24
- Re: Bug in change in button.el?, Miles Bader, 2007/04/24
- Re: Bug in change in button.el?, Nick Roberts, 2007/04/24
- Re: Bug in change in button.el?, Lennart Borgman (gmail), 2007/04/24
- Re: Bug in change in button.el?, Glenn Morris, 2007/04/24
- Re: Bug in change in button.el?, Nick Roberts, 2007/04/24
- Re: Bug in change in button.el?, Glenn Morris, 2007/04/24
- Re: Bug in change in button.el?, Miles Bader, 2007/04/24