NOTE: This patch has been committed.
Hi again,
we need to set zmacs-region to not shrink explicitely. Otherwise, an
explicit shrink setting under it will procude weird effect.
lisp/ChangeLog addition:
2011-12-27 Didier Verna <didier(a)xemacs.org>
* faces.el: Explicitely set the 'zmacs-region face to not shrink
so as to override a shrink setting for a face under it (during
face merging).
XEmacs 21.5 source patch:
Diff command: hg diff --git --show-function
Files affected: lisp/faces.el
diff --git a/lisp/faces.el b/lisp/faces.el
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2113,6 +2113,9 @@ in that frame; otherwise change each fra
'(((win default mono) . "gray1"))
'global)
+;; We need to set this face to not shrink *explicitely* in order to force
+;; covering a shrinked selection. -- dvl
+(set-face-shrink-p 'zmacs-region nil)
(set-face-background 'zmacs-region
'(((win default color) . "gray65")
((win default grayscale) . "gray65"))
--
Resistance is futile. You will be jazzimilated.
Scientific site:
http://www.lrde.epita.fr/~didier
Music (Jazz) site:
http://www.didierverna.com
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches