summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/syntax.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2004-06-14 20:47:25 +0000
committerJuanma Barranquero <lekktu@gmail.com>2004-06-14 20:47:25 +0000
commit0855eb52193e94cfa102ac899b740b0e875fce34 (patch)
tree722805e9ee6a626c3928f75086ba237564832ee3 /lisp/emacs-lisp/syntax.el
parent15469ae8ffc65e1a0cdee7214dfe07e1055ba543 (diff)
downloademacs-0855eb52193e94cfa102ac899b740b0e875fce34.tar.gz
emacs-0855eb52193e94cfa102ac899b740b0e875fce34.tar.bz2
emacs-0855eb52193e94cfa102ac899b740b0e875fce34.zip
(Vimage_types): Move from xdisp.c.
(Vimage_type_cache): New variable. (define_image_type): New argument indicating whether an image library was loaded; cache loaded status and return t on success, nil otherwise. (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. (w32_delayed_load): New function to load an image library from a list of possible filenames. (init_xpm_functions, init_png_functions, init_jpeg_functions) (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. (Finit_image_library): New function, extracted from `init_image'. Try to initialize an image library on demand and cache whether we were successful or not. (syms_of_image): Initialize `Vimage_types' and `Vimage_type_cache'. Add recognized image types to Vimage_types. Export `init-image-library'. (init_image): Remove initialization of all image types, except xbm and pbm.
Diffstat (limited to 'lisp/emacs-lisp/syntax.el')
0 files changed, 0 insertions, 0 deletions