Mercurial > emacs
comparison src/textprop.c @ 10925:0480d65be55d
(Vdefault_properties): New vbl.
author | Boris Goldowsky <boris@gnu.org> |
---|---|
date | Mon, 06 Mar 1995 15:43:56 +0000 |
parents | 701e7acfe885 |
children | 7f0bc7bcf1f3 |
comparison
equal
deleted
inserted
replaced
10924:0d6841b9a132 | 10925:0480d65be55d |
---|---|
62 the o1's cdr. Otherwise, return zero. This is handy for | 62 the o1's cdr. Otherwise, return zero. This is handy for |
63 traversing plists. */ | 63 traversing plists. */ |
64 #define PLIST_ELT_P(o1, o2) (CONSP (o1) && ((o2)=XCONS (o1)->cdr, CONSP (o2))) | 64 #define PLIST_ELT_P(o1, o2) (CONSP (o1) && ((o2)=XCONS (o1)->cdr, CONSP (o2))) |
65 | 65 |
66 Lisp_Object Vinhibit_point_motion_hooks; | 66 Lisp_Object Vinhibit_point_motion_hooks; |
67 Lisp_Object Vdefault_properties; | |
67 | 68 |
68 | 69 |
69 /* Extract the interval at the position pointed to by BEGIN from | 70 /* Extract the interval at the position pointed to by BEGIN from |
70 OBJECT, a string or buffer. Additionally, check that the positions | 71 OBJECT, a string or buffer. Additionally, check that the positions |
71 pointed to by BEGIN and END are within the bounds of OBJECT, and | 72 pointed to by BEGIN and END are within the bounds of OBJECT, and |
1377 } | 1378 } |
1378 | 1379 |
1379 void | 1380 void |
1380 syms_of_textprop () | 1381 syms_of_textprop () |
1381 { | 1382 { |
1383 DEFVAR_LISP ("default-properties", &Vdefault_properties, | |
1384 "Property-list used as default values.\n\ | |
1385 The value of a property in this list is seen as the value for every character\n\ | |
1386 that does not have its own value for that property."); | |
1387 Vdefault_properties = Qnil; | |
1388 | |
1382 DEFVAR_LISP ("inhibit-point-motion-hooks", &Vinhibit_point_motion_hooks, | 1389 DEFVAR_LISP ("inhibit-point-motion-hooks", &Vinhibit_point_motion_hooks, |
1383 "If non-nil, don't run `point-left' and `point-entered' text properties.\n\ | 1390 "If non-nil, don't run `point-left' and `point-entered' text properties.\n\ |
1384 This also inhibits the use of the `intangible' text property."); | 1391 This also inhibits the use of the `intangible' text property."); |
1385 Vinhibit_point_motion_hooks = Qnil; | 1392 Vinhibit_point_motion_hooks = Qnil; |
1386 | 1393 |