(custom-button-pressed): Default to inverse-video.

This commit is contained in:
Eli Zaretskii 2008-09-05 15:08:34 +00:00
parent dda8632194
commit 19758b9562
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2008-09-05 Eli Zaretskii <eliz@gnu.org>
* cus-edit.el (custom-button-pressed): Default to inverse-video.
* term/pc-win.el (msdos-face-setup): Setup faces for all frames,
not just for terminal-frame.

View file

@ -2073,7 +2073,7 @@ and `face'."
(:box (:line-width 2 :style released-button)
:background "grey90" :foreground "black"))
(t
nil))
(:inverse-video t)))
"Mouse face for custom buffer buttons if `custom-raised-buttons' is non-nil."
:version "22.1"
:group 'custom-faces)
@ -2095,6 +2095,9 @@ and `face'."
(:box (:line-width 2 :style pressed-button)
:background "lightgrey" :foreground "black"))
(t
;; This is for text terminals that support mouse, like GPM mouse
;; or the MS-DOS terminal: inverse-video makes the button stand
;; out on mouse-over.
(:inverse-video t)))
"Face for pressed custom buttons if `custom-raised-buttons' is non-nil."
:version "21.1"