8025 |
{ |
{ |
8026 |
extern Lisp_Object Qrisky_local_variable; /* Syms_of_xdisp has already run. */ |
extern Lisp_Object Qrisky_local_variable; /* Syms_of_xdisp has already run. */ |
8027 |
|
|
8028 |
|
/* Initialize this only once, since that's what we do with Vimage_types |
8029 |
|
and they are supposed to be in sync. Initializing here gives correct |
8030 |
|
operation on GNU/Linux of calling dump-emacs after loading some images. */ |
8031 |
|
image_types = NULL; |
8032 |
|
|
8033 |
/* Must be defined now becase we're going to update it below, while |
/* Must be defined now becase we're going to update it below, while |
8034 |
defining the supported image types. */ |
defining the supported image types. */ |
8035 |
DEFVAR_LISP ("image-types", &Vimage_types, |
DEFVAR_LISP ("image-types", &Vimage_types, |
8038 |
To check whether it is really supported, use `image-type-available-p'. */); |
To check whether it is really supported, use `image-type-available-p'. */); |
8039 |
Vimage_types = Qnil; |
Vimage_types = Qnil; |
8040 |
|
|
8041 |
|
define_image_type (&xbm_type, 1); |
8042 |
|
define_image_type (&pbm_type, 1); |
8043 |
|
|
8044 |
DEFVAR_LISP ("image-library-alist", &Vimage_library_alist, |
DEFVAR_LISP ("image-library-alist", &Vimage_library_alist, |
8045 |
doc: /* Alist of image types vs external libraries needed to display them. |
doc: /* Alist of image types vs external libraries needed to display them. |
8046 |
|
|
8171 |
void |
void |
8172 |
init_image () |
init_image () |
8173 |
{ |
{ |
|
image_types = NULL; |
|
|
|
|
|
define_image_type (&xbm_type, 1); |
|
|
define_image_type (&pbm_type, 1); |
|
|
|
|
8174 |
#ifdef MAC_OS |
#ifdef MAC_OS |
8175 |
/* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */ |
/* Animated gifs use QuickTime Movie Toolbox. So initialize it here. */ |
8176 |
EnterMovies (); |
EnterMovies (); |