1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

Reword face-remap-add-relative manual entry

* doc/lispref/display.texi (Face Remapping): Clarify the
face-remap-add-relative (bug#54114).
This commit is contained in:
Lars Ingebrigtsen 2022-02-23 12:58:37 +01:00
parent 3dfc8bff15
commit 5942504391

View File

@ -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}