From 635c0aa1a5ef0972b0175e57f985128bd2d9b302 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 11 Jul 2010 12:07:38 -0400 Subject: [PATCH] * src/xfaces.c (Vface_remapping_alist): Doc fix (Bug#6091). --- src/ChangeLog | 4 ++++ src/xfaces.c | 14 +++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 451dac369c9..4b3726147cb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-07-11 Chong Yidong + + * xfaces.c (Vface_remapping_alist): Doc fix (Bug#6091). + 2010-07-11 Andreas Schwab * callint.c (Fcall_interactively): Use strchr, strrchr instead of diff --git a/src/xfaces.c b/src/xfaces.c index 6848e7f95dc..ad436f06202 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -6791,10 +6791,10 @@ Each element is of the form: (FACE REPLACEMENT...), which causes display of the face FACE to use REPLACEMENT... instead. -REPLACEMENT... is interpreted the same way the value of a `face' text -property is: it may be (1) A face name, (2) A list of face names, (3) A -property-list of face attribute/value pairs, or (4) A list of face names -intermixed with lists containing face attribute/value pairs. +REPLACEMENT... is interpreted the same way as the value of a `face' +text property: it may be (1) A face name, (2) A list of face names, +(3) A property-list of face attribute/value pairs, or (4) A list of +face names or lists containing face attribute/value pairs. Multiple entries in REPLACEMENT... are merged together to form the final result, with faces or attributes earlier in the list taking precedence @@ -6818,7 +6818,11 @@ face definitions. For instance, the mode my-mode could define a face `my-mode-default', and then in the mode setup function, do: (set (make-local-variable 'face-remapping-alist) - '((default my-mode-default)))). */); + '((default my-mode-default)))). + +Because Emacs normally only redraws screen areas when the underlying +buffer contents change, you may need to call `redraw-display' after +changing this variable for it to take effect. */); Vface_remapping_alist = Qnil; DEFVAR_LISP ("face-font-rescale-alist", &Vface_font_rescale_alist, -- 2.39.2