unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59266: 29.0.50; [PATCH] Add flat-button to set-face-attribute docstring
@ 2022-11-14 14:48 Gabriel
  2022-11-15  4:01 ` Stefan Kangas
  2022-11-15 12:34 ` Eli Zaretskii
  0 siblings, 2 replies; 7+ messages in thread
From: Gabriel @ 2022-11-14 14:48 UTC (permalink / raw)
  To: 59266

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

Description:
The docstring of `set-face-attribute' does not mention the new
`flat-button' STYLE in BOX section.

See commit 13bd909591e9c1cf0228750b2d4a9e4364f61cc9 and
(info "(elisp)Face Attributes").

Patch:

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-flat-button-to-set-face-attribute-docstring.patch --]
[-- Type: text/x-diff, Size: 1045 bytes --]

From fed6c0773f152ff795115b1a6c1a7855b3b99f54 Mon Sep 17 00:00:00 2001
From: Gabriel do Nascimento Ribeiro <gabriel376@hotmail.com>
Date: Mon, 14 Nov 2022 11:36:59 -0300
Subject: [PATCH 1/1] Add flat-button to set-face-attribute docstring

* lisp/faces.el (set-face-attribute): Add `flat-button' to STYLE
  section of docstring.
---
 lisp/faces.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/faces.el b/lisp/faces.el
index 09e8110449..4088f4be8a 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -791,9 +791,8 @@ set-face-attribute
 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.
+that appears like a pressed button.  If STYLE is nil, `flat-button'
+or omitted, draw a 2D box.
 
 `:inverse-video'
 
-- 
2.34.1


[-- Attachment #3: Type: text/plain, Size: 16 bytes --]


---
Gabriel




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-11-16 14:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-14 14:48 bug#59266: 29.0.50; [PATCH] Add flat-button to set-face-attribute docstring Gabriel
2022-11-15  4:01 ` Stefan Kangas
2022-11-15  5:23   ` Gabriel
2022-11-15  6:56     ` Stefan Kangas
2022-11-15 12:34 ` Eli Zaretskii
2022-11-15 22:49   ` Gabriel
2022-11-16 14:45     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).