emacs-devel
[Top][All Lists]
Advanced

[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)
  





reply via email to

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