changeset 25620:1c991744ce13

(QCindex): New. (syms_of_xfns): Initialize QCindex. (gif_load): Use it instead of `:image'.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 09 Sep 1999 14:54:29 +0000
parents f25a14690a18
children e263170c30d0
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Sep 09 14:54:28 1999 +0000
+++ b/src/xfns.c	Thu Sep 09 14:54:29 1999 +0000
@@ -5451,7 +5451,7 @@
 Lisp_Object QCtype, QCdata, QCfile, QCascent, QCmargin, QCrelief;
 extern Lisp_Object QCwidth, QCheight, QCforeground, QCbackground;
 Lisp_Object QCalgorithm, QCcolor_symbols, QCheuristic_mask;
-extern Lisp_Object QCimage;
+Lisp_Object QCindex;
 
 /* Other symbols.  */
 
@@ -8869,7 +8869,7 @@
       return 0;
     }
 
-  image = image_spec_value (img->spec, QCimage, NULL);
+  image = image_spec_value (img->spec, QCindex, NULL);
   ino = INTEGERP (image) ? XFASTINT (image) : 0;
   if (ino >= gif->ImageCount)
     {
@@ -10400,6 +10400,8 @@
   staticpro (&QCpt_width);
   QCpt_height = intern (":pt-height");
   staticpro (&QCpt_height);
+  QCindex = intern (":index");
+  staticpro (&QCindex);
   Qpbm = intern ("pbm");
   staticpro (&Qpbm);