diff options
| author | Richard M. Stallman | 2002-07-20 22:14:36 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-07-20 22:14:36 +0000 |
| commit | 7f66329512a09136366eecd28b06c68c36a7d27a (patch) | |
| tree | d4a66557acf9cdc29f152c7681f72dfe5e71c6e1 | |
| parent | 21ece56347cf301fe322d022498e08381205ae54 (diff) | |
| download | emacs-7f66329512a09136366eecd28b06c68c36a7d27a.tar.gz emacs-7f66329512a09136366eecd28b06c68c36a7d27a.zip | |
(custom-variable-value-create):
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".
| -rw-r--r-- | lisp/cus-edit.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index be319cf727f..1fdb56b1439 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -2120,6 +2120,7 @@ Otherwise, look up symbol in `custom-guess-type-alist'." | |||
| 2120 | (push (widget-create-child-and-convert | 2120 | (push (widget-create-child-and-convert |
| 2121 | widget 'visibility | 2121 | widget 'visibility |
| 2122 | :help-echo "Show the value of this option." | 2122 | :help-echo "Show the value of this option." |
| 2123 | :off "Show Value" | ||
| 2123 | :action 'custom-toggle-parent | 2124 | :action 'custom-toggle-parent |
| 2124 | nil) | 2125 | nil) |
| 2125 | buttons)) | 2126 | buttons)) |
| @@ -2137,6 +2138,8 @@ Otherwise, look up symbol in `custom-guess-type-alist'." | |||
| 2137 | (push (widget-create-child-and-convert | 2138 | (push (widget-create-child-and-convert |
| 2138 | widget 'visibility | 2139 | widget 'visibility |
| 2139 | :help-echo "Hide the value of this option." | 2140 | :help-echo "Hide the value of this option." |
| 2141 | :on "Hide Value" | ||
| 2142 | :off "Show Value" | ||
| 2140 | :action 'custom-toggle-parent | 2143 | :action 'custom-toggle-parent |
| 2141 | t) | 2144 | t) |
| 2142 | buttons) | 2145 | buttons) |
| @@ -2171,6 +2174,8 @@ Otherwise, look up symbol in `custom-guess-type-alist'." | |||
| 2171 | (push (widget-create-child-and-convert | 2174 | (push (widget-create-child-and-convert |
| 2172 | widget 'visibility | 2175 | widget 'visibility |
| 2173 | :help-echo "Hide the value of this option." | 2176 | :help-echo "Hide the value of this option." |
| 2177 | :on "Hide Value" | ||
| 2178 | :off "Show Value" | ||
| 2174 | :action 'custom-toggle-parent | 2179 | :action 'custom-toggle-parent |
| 2175 | t) | 2180 | t) |
| 2176 | buttons) | 2181 | buttons) |
| @@ -2193,6 +2198,7 @@ Otherwise, look up symbol in `custom-guess-type-alist'." | |||
| 2193 | ;; this anyway. The doc string widget should be added like the others. | 2198 | ;; this anyway. The doc string widget should be added like the others. |
| 2194 | ;; --dv | 2199 | ;; --dv |
| 2195 | (widget-put widget :buttons buttons) | 2200 | (widget-put widget :buttons buttons) |
| 2201 | (insert "\n") | ||
| 2196 | ;; Insert documentation. | 2202 | ;; Insert documentation. |
| 2197 | (widget-default-format-handler widget ?h) | 2203 | (widget-default-format-handler widget ?h) |
| 2198 | 2204 | ||
| @@ -2783,6 +2789,8 @@ SPEC must be a full face spec." | |||
| 2783 | (push (widget-create-child-and-convert | 2789 | (push (widget-create-child-and-convert |
| 2784 | widget 'visibility | 2790 | widget 'visibility |
| 2785 | :help-echo "Hide or show this face." | 2791 | :help-echo "Hide or show this face." |
| 2792 | :on "Hide Face" | ||
| 2793 | :off "Show Face" | ||
| 2786 | :action 'custom-toggle-parent | 2794 | :action 'custom-toggle-parent |
| 2787 | (not (eq state 'hidden))) | 2795 | (not (eq state 'hidden))) |
| 2788 | buttons) | 2796 | buttons) |