; Improve documentation of ':box' face attribute
authorEli Zaretskii <eliz@gnu.org>
Sat, 30 Nov 2024 10:44:01 +0000 (12:44 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Nov 2024 10:44:01 +0000 (12:44 +0200)
* doc/lispref/display.texi (Face Attributes): Describe a subtlety
of displaying ':box'.  (Bug#74536)

doc/lispref/display.texi

index 11faf1dc9a0c0c9857c1cf9360d6dd304e1a3f6a..5ecca832b68b6f5dd189cfad49aa1731b004800a 100644 (file)
@@ -2803,7 +2803,11 @@ being pressed.  If it is @code{pressed-button}, the box looks like a
 If you use the @code{:box} face attribute on strings displayed instead
 of buffer text via the @code{display} text property, special
 considerations might apply if the surrounding buffer text also has the
-@code{:box} face attribute.  @xref{Replacing Specs}.
+@code{:box} face attribute.  @xref{Replacing Specs}.  Also note that the
+vertical lines of the box are only drawn when @code{:box} attribute
+changes from @code{nil} to non-@code{nil} or vice versa; two consecutive
+face properties with a non-@code{nil} @code{:box} attribute will be
+displayed without the vertical line between them.
 
 @item :inverse-video
 Whether or not characters should be displayed in inverse video.  The