emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100783: * src/xfaces.c (Vface_remapp


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100783: * src/xfaces.c (Vface_remapping_alist): Doc fix (Bug#6091).
Date: Sun, 11 Jul 2010 12:07:38 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100783
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sun 2010-07-11 12:07:38 -0400
message:
  * src/xfaces.c (Vface_remapping_alist): Doc fix (Bug#6091).
modified:
  src/ChangeLog
  src/xfaces.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-07-11 10:31:10 +0000
+++ b/src/ChangeLog     2010-07-11 16:07:38 +0000
@@ -1,3 +1,7 @@
+2010-07-11  Chong Yidong  <address@hidden>
+
+       * xfaces.c (Vface_remapping_alist): Doc fix (Bug#6091).
+
 2010-07-11  Andreas Schwab  <address@hidden>
 
        * callint.c (Fcall_interactively): Use strchr, strrchr instead of

=== modified file 'src/xfaces.c'
--- a/src/xfaces.c      2010-07-10 18:52:53 +0000
+++ b/src/xfaces.c      2010-07-11 16:07:38 +0000
@@ -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,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]