Mercurial > hg > xemacs-beta
changeset 5620:7a81b4d98d2d
Shrink the widget-field-face.
-------------------- ChangeLog entries follow: --------------------
lisp/ChangeLog addition:
2011-12-27 Didier Verna <didier@xemacs.org>
* wid-edit.el (widget-field-face): Set this face to shrink. Fix
incorrect specification.
author | Didier Verna <didier@xemacs.org> |
---|---|
date | Tue, 27 Dec 2011 15:21:28 +0100 |
parents | 75ad4969a16d |
children | 8265913e617b |
files | lisp/ChangeLog lisp/wid-edit.el |
diffstat | 2 files changed, 13 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Mon Dec 26 15:04:25 2011 +0100 +++ b/lisp/ChangeLog Tue Dec 27 15:21:28 2011 +0100 @@ -1,3 +1,8 @@ +2011-12-27 Didier Verna <didier@xemacs.org> + + * wid-edit.el (widget-field-face): Set this face to shrink. Fix + incorrect specification. + 2011-12-26 Didier Verna <didier@xemacs.org> * cl-macs.el (face-flush-p): Removed.
--- a/lisp/wid-edit.el Mon Dec 26 15:04:25 2011 +0100 +++ b/lisp/wid-edit.el Tue Dec 27 15:21:28 2011 +0100 @@ -88,22 +88,18 @@ ;; TTY gets special definitions here and in the next defface, because ;; the gray colors defined for other displays cause black text on a black ;; background, at least on light-background TTYs. -(defface widget-field-face '( - ;; #### sjt sez: XEmacs doesn't like this. - ;; The Custom face editor widget shows a Lisp - ;; form, not a face structure. Does it produce - ;; the right face on TTYs? - ;; One hypothesis is that the editor doesn't - ;; grok non-default display types in the value. - (((type tty)) - (:background "yellow3") - (:foreground "black")) +(defface widget-field-face '((((type tty)) + (:background "yellow3" + :foreground "black" + :shrink t)) (((class grayscale color) (background light)) - (:background "gray85")) + (:background "gray85" + :shrink t)) (((class grayscale color) (background dark)) - (:background "dim gray")) + (:background "dim gray" + :shrink t)) (t (:italic t))) "Face used for editable fields."