summaryrefslogtreecommitdiff
path: root/doc/lispref
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-12-09 13:05:07 +0200
committerEli Zaretskii <eliz@gnu.org>2023-12-09 13:05:07 +0200
commit0f361cc985d35202556233f04235df1c885f532e (patch)
tree4ef5703ad851c9c27fdb061322cd12fda167bc8c /doc/lispref
parent46fe7a17f53ab7026f3a11442a07233f37984456 (diff)
downloademacs-0f361cc985d35202556233f04235df1c885f532e.tar.gz
emacs-0f361cc985d35202556233f04235df1c885f532e.tar.bz2
emacs-0f361cc985d35202556233f04235df1c885f532e.zip
; Minor copyedits in description of ':box' face property
* doc/lispref/display.texi (Face Attributes): Rearrange description of ':box' attributes. Suggested by Arash Esbati <arash@gnu.org>. (Bug#67713)
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/display.texi14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 50a91066d1d..e0385d247a3 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2726,7 +2726,7 @@ Draw a box with lines of width 1, in color @var{color}.
You can explicitly specify all aspects of the box with a plist on this
form. Any element in this plist can be omitted.
-The values @var{vwidth} and @var{hwidth} specifies respectively the
+The values of @var{vwidth} and @var{hwidth} specify respectively the
width of the vertical and horizontal lines to draw; they default to (1
. 1). A negative horizontal or vertical width @minus{}@var{n} means
to draw a line of width @var{n} that occupies the space of the
@@ -2735,16 +2735,16 @@ width. For simplification the width could be specified with only a
single number @var{n} instead of a list, such case is equivalent to
@code{((abs @var{n}) . @var{n})}.
-The value @var{style} specifies whether to draw a 3D box. If it is
+The value of @var{color} specifies the color to draw with. The default
+is the background color of the face for 3D boxes and
+@code{flat-button}, and the foreground color of the face for other
+boxes.
+
+The value of @var{style} specifies whether to draw a 3D box. If it is
@code{released-button}, the box looks like a 3D button that is not
being pressed. If it is @code{pressed-button}, the box looks like a
3D button that is being pressed. If it is @code{nil},
@code{flat-button} or omitted, a plain 2D box is used.
-
-The value @var{color} specifies the color to draw with. The default
-is the background color of the face for 3D boxes and
-@code{flat-button}, and the foreground color of the face for other
-boxes.
@end table
@item :inverse-video