aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-11-02 12:51:55 +0000
committerGerd Moellmann1999-11-02 12:51:55 +0000
commit9fb5e03d38d8c8a8f712b5b535f0d842bdc00f05 (patch)
treeb329e5d941f4eafdfe1d7aa5868b47bc5d6e0e90 /src
parent00510a6b35e1e0ef3bf575789ff1e220b9d195d8 (diff)
downloademacs-9fb5e03d38d8c8a8f712b5b535f0d842bdc00f05.tar.gz
emacs-9fb5e03d38d8c8a8f712b5b535f0d842bdc00f05.zip
(QCuser_data): New.
(syms_of_xfns): Initialize QCuser_data. (parse_image_spec): Ignore :user-data DATA properties.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xfns.c8
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 2e00d388404..c575045c72b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
11999-11-02 Gerd Moellmann <gerd@gnu.org> 11999-11-02 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xfns.c (QCuser_data): New.
4 (syms_of_xfns): Initialize QCuser_data.
5 (parse_image_spec): Ignore :user-data DATA properties.
6
3 * xdisp.c (display_line): Set charpos of first glyph in blank 7 * xdisp.c (display_line): Set charpos of first glyph in blank
4 lines not corresponding to any text to -1, even if no glyphs are 8 lines not corresponding to any text to -1, even if no glyphs are
5 filled in in that line. 9 filled in in that line.
diff --git a/src/xfns.c b/src/xfns.c
index 7ab5de9c1c7..399da6d6fd9 100644
--- a/src/xfns.c
+++ b/src/xfns.c
@@ -5441,7 +5441,7 @@ Lisp_Object Qxbm;
5441Lisp_Object QCtype, QCdata, QCascent, QCmargin, QCrelief; 5441Lisp_Object QCtype, QCdata, QCascent, QCmargin, QCrelief;
5442extern Lisp_Object QCwidth, QCheight, QCforeground, QCbackground, QCfile; 5442extern Lisp_Object QCwidth, QCheight, QCforeground, QCbackground, QCfile;
5443Lisp_Object QCalgorithm, QCcolor_symbols, QCheuristic_mask; 5443Lisp_Object QCalgorithm, QCcolor_symbols, QCheuristic_mask;
5444Lisp_Object QCindex; 5444Lisp_Object QCindex, QCuser_data;
5445 5445
5446/* Other symbols. */ 5446/* Other symbols. */
5447 5447
@@ -5622,6 +5622,10 @@ parse_image_spec (spec, keywords, nkeywords, type, allow_other_keys_p)
5622 value = XCAR (plist); 5622 value = XCAR (plist);
5623 plist = XCDR (plist); 5623 plist = XCDR (plist);
5624 5624
5625 /* Always ignore :user-data DATA. */
5626 if (EQ (key, QCuser_data))
5627 continue;
5628
5625 /* Find key in KEYWORDS. Error if not found. */ 5629 /* Find key in KEYWORDS. Error if not found. */
5626 for (i = 0; i < nkeywords; ++i) 5630 for (i = 0; i < nkeywords; ++i)
5627 if (strcmp (keywords[i].name, XSYMBOL (key)->name->data) == 0) 5631 if (strcmp (keywords[i].name, XSYMBOL (key)->name->data) == 0)
@@ -10424,6 +10428,8 @@ Each element of the list is a symbol for a supported image type.");
10424 staticpro (&QCpt_height); 10428 staticpro (&QCpt_height);
10425 QCindex = intern (":index"); 10429 QCindex = intern (":index");
10426 staticpro (&QCindex); 10430 staticpro (&QCindex);
10431 QCuser_data = intern (":user-data");
10432 staticpro (&QCuser_data);
10427 Qpbm = intern ("pbm"); 10433 Qpbm = intern ("pbm");
10428 staticpro (&Qpbm); 10434 staticpro (&Qpbm);
10429 10435