1999-11-02 Gerd Moellmann <gerd@gnu.org>
+ * xfns.c (QCuser_data): New.
+ (syms_of_xfns): Initialize QCuser_data.
+ (parse_image_spec): Ignore :user-data DATA properties.
+
* xdisp.c (display_line): Set charpos of first glyph in blank
lines not corresponding to any text to -1, even if no glyphs are
filled in in that line.
Lisp_Object QCtype, QCdata, QCascent, QCmargin, QCrelief;
extern Lisp_Object QCwidth, QCheight, QCforeground, QCbackground, QCfile;
Lisp_Object QCalgorithm, QCcolor_symbols, QCheuristic_mask;
-Lisp_Object QCindex;
+Lisp_Object QCindex, QCuser_data;
/* Other symbols. */
value = XCAR (plist);
plist = XCDR (plist);
+ /* Always ignore :user-data DATA. */
+ if (EQ (key, QCuser_data))
+ continue;
+
/* Find key in KEYWORDS. Error if not found. */
for (i = 0; i < nkeywords; ++i)
if (strcmp (keywords[i].name, XSYMBOL (key)->name->data) == 0)
staticpro (&QCpt_height);
QCindex = intern (":index");
staticpro (&QCindex);
+ QCuser_data = intern (":user-data");
+ staticpro (&QCuser_data);
Qpbm = intern ("pbm");
staticpro (&Qpbm);