From 8df095c8d68c565c46640359b10242bccf17c80d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 7 Jun 2025 12:43:39 +0300 Subject: [PATCH] ; Fix last change (bug#77945) * lisp/faces.el (face-all-attributes): * etc/NEWS: Reformat and fix wording in documentation. (cherry picked from commit 0bc2a5a2c178ac5e79ea577affe91e711b410123) --- lisp/faces.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lisp/faces.el b/lisp/faces.el index f3bdd89eb19..893656acd55 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -444,11 +444,11 @@ If `inhibit-x-resources' is non-nil, this function does nothing." (defun face-all-attributes (face &optional frame inherit) "Return an alist stating the attributes of FACE. -Each element of the result has the form (ATTR-NAME . ATTR-VALUE). If -FRAME is omitted or nil the value describes the default attributes, but -if you specify FRAME, the value describes the attributes of FACE on -FRAME. INHERIT has the same meaning as the same argument to -`face-attribute', which see." +Each element of the result has the form (ATTR-NAME . ATTR-VALUE). +If FRAME is omitted or nil the value describes the default attributes, +but if you specify FRAME, the value describes the attributes of FACE +on FRAME. +INHERIT has the same meaning as in `face-attribute', which see." (mapcar (lambda (pair) (let ((attr (car pair))) (cons attr (face-attribute face attr (or frame t) inherit)))) -- 2.39.5