aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorColin Walters2002-06-08 20:24:35 +0000
committerColin Walters2002-06-08 20:24:35 +0000
commit49d110a8aa34409f7f52eaed4975892d241a7ce6 (patch)
tree3823eb146ecbe984297da1a07584ffb62b026ed4 /src
parent515a9a0f466acd4cd36c5a960d8525721e65c9fc (diff)
downloademacs-49d110a8aa34409f7f52eaed4975892d241a7ce6.tar.gz
emacs-49d110a8aa34409f7f52eaed4975892d241a7ce6.zip
(Vchar_property_alias_alist): New variable.
(syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP.
Diffstat (limited to 'src')
-rw-r--r--src/textprop.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 401e26f1a30..f6b7dab421e 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -70,6 +70,7 @@ Lisp_Object Qfront_sticky, Qrear_nonsticky;
70 70
71Lisp_Object Vinhibit_point_motion_hooks; 71Lisp_Object Vinhibit_point_motion_hooks;
72Lisp_Object Vdefault_text_properties; 72Lisp_Object Vdefault_text_properties;
73Lisp_Object Vchar_property_alias_alist;
73Lisp_Object Vtext_property_default_nonsticky; 74Lisp_Object Vtext_property_default_nonsticky;
74 75
75/* verify_interval_modification saves insertion hooks here 76/* verify_interval_modification saves insertion hooks here
@@ -2177,6 +2178,15 @@ The value of a property in this list is seen as the value for every
2177character that does not have its own value for that property. */); 2178character that does not have its own value for that property. */);
2178 Vdefault_text_properties = Qnil; 2179 Vdefault_text_properties = Qnil;
2179 2180
2181 DEFVAR_LISP ("char-property-alias-alist", &Vchar_property_alias_alist,
2182 doc: /* Alist of alternative properties for properties without a value.
2183Each element should look like (PROPERTY ALTERNATIVE1 ALTERNATIVE2...).
2184If a piece of text has no direct value for a particular property, then
2185this alist is consulted. If that property appears in the alist, then
2186the first non-nil value from the associated alternative properties is
2187returned. */);
2188 Vchar_property_alias_alist = Qnil;
2189
2180 DEFVAR_LISP ("inhibit-point-motion-hooks", &Vinhibit_point_motion_hooks, 2190 DEFVAR_LISP ("inhibit-point-motion-hooks", &Vinhibit_point_motion_hooks,
2181 doc: /* If non-nil, don't run `point-left' and `point-entered' text properties. 2191 doc: /* If non-nil, don't run `point-left' and `point-entered' text properties.
2182This also inhibits the use of the `intangible' text property. */); 2192This also inhibits the use of the `intangible' text property. */);