summaryrefslogtreecommitdiff
path: root/lisp/cus-edit.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2008-09-05 15:08:34 +0000
committerEli Zaretskii <eliz@gnu.org>2008-09-05 15:08:34 +0000
commit19758b9562a0cb7325aeae1d99b347a4fbb18e46 (patch)
treeb484f5d59e0fa7f0d626e77fec6983cb8350bbde /lisp/cus-edit.el
parentdda86321947016c0614a2a7f0293d8abf5d38805 (diff)
downloademacs-19758b9562a0cb7325aeae1d99b347a4fbb18e46.tar.gz
(custom-button-pressed): Default to inverse-video.
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r--lisp/cus-edit.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 29152e12ce8..0c810879a88 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -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"