diff lisp/faces.el @ 5621:8265913e617b

Explicitely set zmacs-region to not shrink. -------------------- ChangeLog entries follow: -------------------- lisp/ChangeLog addition: 2011-12-27 Didier Verna <didier@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).
author Didier Verna <didier@xemacs.org>
date Tue, 27 Dec 2011 15:32:42 +0100
parents 75ad4969a16d
children 4b4b37ddb7fd
line wrap: on
line diff
--- a/lisp/faces.el	Tue Dec 27 15:21:28 2011 +0100
+++ b/lisp/faces.el	Tue Dec 27 15:32:42 2011 +0100
@@ -2113,6 +2113,9 @@
 			    '(((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"))