]> git.eshelyaron.com Git - emacs.git/commitdiff
(custom-variable-value-create):
authorRichard M. Stallman <rms@gnu.org>
Sat, 20 Jul 2002 22:14:36 +0000 (22:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 20 Jul 2002 22:14:36 +0000 (22:14 +0000)
Say "Show Value", not just "Show".  Also "Hide Value".
Output a newline before the doc string.
(custom-face-value-create): Say "Show Face" and "Hide Face".

lisp/cus-edit.el

index be319cf727faf689f484c4e3475c21a69f891438..1fdb56b1439d4c1b16a7bd08fd60469f68a75c44 100644 (file)
@@ -2120,6 +2120,7 @@ Otherwise, look up symbol in `custom-guess-type-alist'."
           (push (widget-create-child-and-convert
                  widget 'visibility
                  :help-echo "Show the value of this option."
+                 :off "Show Value"
                  :action 'custom-toggle-parent
                  nil)
                 buttons))
@@ -2137,6 +2138,8 @@ Otherwise, look up symbol in `custom-guess-type-alist'."
             (push (widget-create-child-and-convert
                    widget 'visibility
                    :help-echo "Hide the value of this option."
+                   :on "Hide Value"
+                   :off "Show Value"
                    :action 'custom-toggle-parent
                    t)
                   buttons)
@@ -2171,6 +2174,8 @@ Otherwise, look up symbol in `custom-guess-type-alist'."
             (push (widget-create-child-and-convert
                    widget 'visibility
                    :help-echo "Hide the value of this option."
+                   :on "Hide Value"
+                   :off "Show Value"
                    :action 'custom-toggle-parent
                    t)
                   buttons)
@@ -2193,6 +2198,7 @@ Otherwise, look up symbol in `custom-guess-type-alist'."
       ;; this anyway. The doc string widget should be added like the others.
       ;; --dv
       (widget-put widget :buttons buttons)
+      (insert "\n")
       ;; Insert documentation.
       (widget-default-format-handler widget ?h)
 
@@ -2783,6 +2789,8 @@ SPEC must be a full face spec."
           (push (widget-create-child-and-convert
                  widget 'visibility
                  :help-echo "Hide or show this face."
+                 :on "Hide Face"
+                 :off "Show Face"
                  :action 'custom-toggle-parent
                  (not (eq state 'hidden)))
                 buttons)