summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-02-23 12:58:37 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2022-02-23 12:58:50 +0100
commit5942504391df1b81ded820f9c8cd3047a05f3543 (patch)
treeae70720137ae647541980ed178564a58e4cbb602
parent3dfc8bff15a74cbb6da3ebb3718fc30b5ebad195 (diff)
downloademacs-5942504391df1b81ded820f9c8cd3047a05f3543.tar.gz
Reword face-remap-add-relative manual entry
* doc/lispref/display.texi (Face Remapping): Clarify the face-remap-add-relative (bug#54114).
-rw-r--r--doc/lispref/display.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 3fd54cb147f..0ea421c774b 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -3197,10 +3197,10 @@ and @code{face-remap-reset-base} functions; it is intended for major
modes to remap faces in the buffers they control.
@defun face-remap-add-relative face &rest specs
-This function adds the face spec in @var{specs} as relative
-remappings for face @var{face} in the current buffer. The remaining
-arguments, @var{specs}, should form either a list of face names, or a
-property list of attribute/value pairs.
+This function adds @var{specs} as relative remappings for face
+@var{face} in the current buffer. @var{specs} should be a list where
+each element is either a face name, or a property list of
+attribute/value pairs.
The return value is a Lisp object that serves as a cookie; you can
pass this object as an argument to @code{face-remap-remove-relative}