changeset 109318:06b03915afed

* src/xfaces.c (Vface_remapping_alist): Doc fix (Bug#6091).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 11 Jul 2010 12:07:38 -0400
parents b465cd0d7614
children 108c259501da
files src/ChangeLog src/xfaces.c
diffstat 2 files changed, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Jul 11 16:45:42 2010 +0300
+++ b/src/ChangeLog	Sun Jul 11 12:07:38 2010 -0400
@@ -1,3 +1,7 @@
+2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
+
+	* xfaces.c (Vface_remapping_alist): Doc fix (Bug#6091).
+
 2010-07-11  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* callint.c (Fcall_interactively): Use strchr, strrchr instead of
--- a/src/xfaces.c	Sun Jul 11 16:45:42 2010 +0300
+++ b/src/xfaces.c	Sun Jul 11 12:07:38 2010 -0400
@@ -6791,10 +6791,10 @@
    (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 @@
 `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,