emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/src/textprop.c


From: Colin Walters
Subject: [Emacs-diffs] Changes to emacs/src/textprop.c
Date: Sat, 08 Jun 2002 16:24:35 -0400

Index: emacs/src/textprop.c
diff -c emacs/src/textprop.c:1.127 emacs/src/textprop.c:1.128
*** emacs/src/textprop.c:1.127  Mon Apr 29 15:29:58 2002
--- emacs/src/textprop.c        Sat Jun  8 16:24:35 2002
***************
*** 70,75 ****
--- 70,76 ----
  
  Lisp_Object Vinhibit_point_motion_hooks;
  Lisp_Object Vdefault_text_properties;
+ Lisp_Object Vchar_property_alias_alist;
  Lisp_Object Vtext_property_default_nonsticky;
  
  /* verify_interval_modification saves insertion hooks here
***************
*** 2176,2181 ****
--- 2177,2191 ----
  The value of a property in this list is seen as the value for every
  character that does not have its own value for that property.  */);
    Vdefault_text_properties = Qnil;
+ 
+   DEFVAR_LISP ("char-property-alias-alist", &Vchar_property_alias_alist,
+              doc: /* Alist of alternative properties for properties without a 
value.
+ Each element should look like (PROPERTY ALTERNATIVE1 ALTERNATIVE2...).
+ If a piece of text has no direct value for a particular property, then
+ this alist is consulted.  If that property appears in the alist, then
+ the first non-nil value from the associated alternative properties is
+ returned. */);
+   Vchar_property_alias_alist = Qnil;
  
    DEFVAR_LISP ("inhibit-point-motion-hooks", &Vinhibit_point_motion_hooks,
               doc: /* If non-nil, don't run `point-left' and `point-entered' 
text properties.



reply via email to

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