From c9573c8a74dccc4f379c325ca2cf8d74e04ccc8c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 30 Nov 2024 12:44:01 +0200 Subject: [PATCH] ; Improve documentation of ':box' face attribute * doc/lispref/display.texi (Face Attributes): Describe a subtlety of displaying ':box'. (Bug#74536) (cherry picked from commit afb34a3b2393decb50e250ed8caa559b64020379) --- doc/lispref/display.texi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 0d66315f0cc..1540745325d 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -2801,7 +2801,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 -- 2.39.5