changeset 97999:8038a4df451c

(custom-button-pressed): Default to inverse-video.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 05 Sep 2008 15:07:57 +0000
parents 9ba128910056
children e872d487094b
files lisp/cus-edit.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/cus-edit.el	Fri Sep 05 14:42:05 2008 +0000
+++ b/lisp/cus-edit.el	Fri Sep 05 15:07:57 2008 +0000
@@ -2073,7 +2073,7 @@
      (: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 @@
      (: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"