/* Get the value of property PROP from PLIST,
which is the plist of an interval.
- We check for direct properties and for categories with property PROP. */
+ We check for direct properties, for categories with property PROP,
+ and for PROP appearing on the default-properties list. */
Lisp_Object
textget (plist, prop)
}
}
- return fallback;
+ if (! NILP (fallback))
+ return fallback;
+ if (CONSP (Vdefault_properties))
+ return textget_direct (Vdefault_properties, prop);
+ return Qnil;
}
/* Get the value of property PROP from PLIST,