summaryrefslogtreecommitdiff
path: root/doc/lispref/display.texi
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-02-24 06:30:36 +0100
committerStefan Kangas <stefan@marxist.se>2022-02-24 06:30:36 +0100
commitaedb74b2940cffa56c26c142c4bb8c2a7a21839f (patch)
tree5b2485c0aa3ba2ba3dde93351cb37ac9bf47f44f /doc/lispref/display.texi
parentec1aaac5c0fb621461a171bb241d2e1c74509d1e (diff)
parent5942504391df1b81ded820f9c8cd3047a05f3543 (diff)
downloademacs-aedb74b2940cffa56c26c142c4bb8c2a7a21839f.tar.gz
emacs-aedb74b2940cffa56c26c142c4bb8c2a7a21839f.tar.bz2
emacs-aedb74b2940cffa56c26c142c4bb8c2a7a21839f.zip
Merge from origin/emacs-28
5942504391 Reword face-remap-add-relative manual entry
Diffstat (limited to 'doc/lispref/display.texi')
-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 48170348e32..f134a4fe842 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -3303,10 +3303,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}