diff options
| author | Dave Love | 2000-06-11 23:02:14 +0000 |
|---|---|---|
| committer | Dave Love | 2000-06-11 23:02:14 +0000 |
| commit | 35a7ac84462cfb126bee6e2cab60e75515cef3ad (patch) | |
| tree | 47eb9d7fc9e0f46403e8a0e7227d9bae63e038eb | |
| parent | 2c0ec709cceb9db1155d6e5921a5e19eb0824c72 (diff) | |
| download | emacs-35a7ac84462cfb126bee6e2cab60e75515cef3ad.tar.gz emacs-35a7ac84462cfb126bee6e2cab60e75515cef3ad.zip | |
(widget-specify-button): Really suppress the face if required.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/wid-edit.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 39a352dfbc7..8fbba29987f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2000-06-12 Dave Love <fx@gnu.org> | ||
| 2 | |||
| 3 | * wid-edit.el (widget-specify-button): Really suppress the face if | ||
| 4 | required. | ||
| 5 | |||
| 1 | 2000-06-11 Gerd Moellmann <gerd@gnu.org> | 6 | 2000-06-11 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * term/x-win.el (x-colors): Add colors from recent rgb.txt. | 8 | * term/x-win.el (x-colors): Add colors from recent rgb.txt. |
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el index 177a12ab214..ac2cc0d9ef6 100644 --- a/lisp/wid-edit.el +++ b/lisp/wid-edit.el | |||
| @@ -339,8 +339,7 @@ new value.") | |||
| 339 | (overlay-put overlay 'mouse-face widget-mouse-face)) | 339 | (overlay-put overlay 'mouse-face widget-mouse-face)) |
| 340 | ;;(overlay-put overlay 'balloon-help help-echo) | 340 | ;;(overlay-put overlay 'balloon-help help-echo) |
| 341 | (if (stringp help-echo) | 341 | (if (stringp help-echo) |
| 342 | (overlay-put overlay 'help-echo help-echo)) | 342 | (overlay-put overlay 'help-echo help-echo)))) |
| 343 | (overlay-put overlay 'face face))) | ||
| 344 | 343 | ||
| 345 | (defun widget-specify-sample (widget from to) | 344 | (defun widget-specify-sample (widget from to) |
| 346 | "Specify sample for WIDGET between FROM and TO." | 345 | "Specify sample for WIDGET between FROM and TO." |
| @@ -1956,6 +1955,9 @@ when he invoked the menu." | |||
| 1956 | :button-prefix "" | 1955 | :button-prefix "" |
| 1957 | :format "%[%v%]" | 1956 | :format "%[%v%]" |
| 1958 | :on "[X]" | 1957 | :on "[X]" |
| 1958 | ;; We could probably do the same job as the images using single | ||
| 1959 | ;; space characters in a boxed face with a stretch specification to | ||
| 1960 | ;; make them square. | ||
| 1959 | :on-glyph (create-image (make-bool-vector 49 1) | 1961 | :on-glyph (create-image (make-bool-vector 49 1) |
| 1960 | 'xbm t :width 7 :height 7 | 1962 | 'xbm t :width 7 :height 7 |
| 1961 | :foreground "grey75" ; like default mode line | 1963 | :foreground "grey75" ; like default mode line |