/[emacs]/emacs/lispref/display.texi
ViewVC logotype

Diff of /emacs/lispref/display.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.120 by lektu, Mon Jun 14 21:11:21 2004 UTC revision 1.121 by lektu, Mon Jun 21 21:51:10 2004 UTC
# Line 2892  type symbols are @code{xbm}, @code{xpm}, Line 2892  type symbols are @code{xbm}, @code{xpm},
2892  @code{pbm}, @code{jpeg}, @code{tiff}, and @code{png}.  @code{pbm}, @code{jpeg}, @code{tiff}, and @code{png}.
2893    
2894  @defvar image-types  @defvar image-types
 @vindex image-types  
2895  This variable contains a list of those image type symbols that are  This variable contains a list of those image type symbols that are
2896  potentially supported in the current configuration.  potentially supported in the current configuration.
2897  @emph{Potentially} here means that Emacs knows about the image types,  @emph{Potentially} here means that Emacs knows about the image types,
# Line 2904  To know which image types are really ava Line 2903  To know which image types are really ava
2903  @end defvar  @end defvar
2904    
2905  @defvar image-library-alist  @defvar image-library-alist
 @vindex image-library-alist  
2906  This in an alist of image types vs external libraries needed to  This in an alist of image types vs external libraries needed to
2907  display them.  display them.
2908    
# Line 2913  where the car is a supported image forma Line 2911  where the car is a supported image forma
2911  the rest are strings giving alternate filenames for the corresponding  the rest are strings giving alternate filenames for the corresponding
2912  external libraries to load.  external libraries to load.
2913    
2914  They are tried in the order they appear on the list; if none of them  Emacs tries to load the libraries in the order they appear on the
2915  can be loaded, the running session of Emacs won't support the image  list; if none is loaded, the running session of Emacs won't support
2916  type.  No entries are needed for @code{pbm} and @code{xbm} images;  the image type.  @code{pbm} and @code{xbm} don't need to be listed;
2917  they're always supported.  they're always supported.
2918    
2919  This variable is ignored if the image libraries are statically linked  This variable is ignored if the image libraries are statically linked
# Line 2925  into Emacs. Line 2923  into Emacs.
2923  @defun  image-type-available-p type  @defun  image-type-available-p type
2924  @findex image-type-available-p  @findex image-type-available-p
2925    
2926  This function returns non-nil if image type TYPE is available, i.e.,  This function returns non-nil if image type @var{TYPE} is available,
2927  if images of this type can be loaded and displayed in Emacs.  TYPE  i.e., if images of this type can be loaded and displayed in Emacs.
2928  should be one of the types contained in @code{image-types}.  @var{TYPE} should be one of the types contained in @code{image-types}.
2929    
2930  For image types whose support libraries are statically linked, this  For image types whose support libraries are statically linked, this
2931  function always returns @code{t}; for other image types, it returns  function always returns @code{t}; for other image types, it returns

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.121

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26