]> git.eshelyaron.com Git - emacs.git/commitdiff
Add flat-button to docstring of 'set-face-attribute'
authorGabriel do Nascimento Ribeiro <gabriel376@hotmail.com>
Tue, 15 Nov 2022 22:42:01 +0000 (19:42 -0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 16 Nov 2022 14:43:05 +0000 (16:43 +0200)
* lisp/faces.el (set-face-attribute): Add 'flat-button' to
COLOR and STYLE sections of docstring.  (Bug#59266)

lisp/faces.el

index 09e81104491a28898c66ca80602beba469fd5ed3..5ae1c65a4dae9908a6c7f08eee91e5cba823d91f 100644 (file)
@@ -787,13 +787,12 @@ specified below.  WIDTH specifies the width of the lines to draw; it
 defaults to 1.  If WIDTH is negative, the absolute value is the width
 of the lines, and draw top/bottom lines inside the characters area,
 not around it.  COLOR is the name of the color to draw in, default is
-the foreground color of the face for simple boxes, and the background
-color of the face for 3D boxes.  STYLE specifies whether a 3D box
-should be draw.  If STYLE is `released-button', draw a box looking
-like a released 3D button.  If STYLE is `pressed-button' draw a box
-that appears like a pressed button.  If STYLE is nil, the default if
-the property list doesn't contain a style specification, draw a 2D
-box.
+the background color of the face for 3D boxes and `flat-button', and
+the foreground color of the face for other boxes.  STYLE specifies
+whether a 3D box should be draw.  If STYLE is `released-button', draw
+a box looking like a released 3D button.  If STYLE is `pressed-button'
+draw a box that appears like a pressed button.  If STYLE is nil,
+`flat-button' or omitted, draw a 2D box.
 
 `:inverse-video'