emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f793add175: Add flat-button to docstring of 'set-face-attribute'


From: Eli Zaretskii
Subject: master f793add175: Add flat-button to docstring of 'set-face-attribute'
Date: Wed, 16 Nov 2022 09:44:04 -0500 (EST)

branch: master
commit f793add1758fd01f678698a90f5847b575f63cf8
Author: Gabriel do Nascimento Ribeiro <gabriel376@hotmail.com>
Commit: Eli Zaretskii <eliz@gnu.org>

    Add flat-button to docstring of 'set-face-attribute'
    
    * lisp/faces.el (set-face-attribute): Add 'flat-button' to
    COLOR and STYLE sections of docstring.  (Bug#59266)
---
 lisp/faces.el | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/lisp/faces.el b/lisp/faces.el
index 09e8110449..5ae1c65a4d 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -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'
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]