From fe34703418bc6b49b420ed30f48ad8abeaf4bc76 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 14 Jun 2004 21:01:37 +0000 Subject: [PATCH] (image-library-alist): Initialize to a known set of probable library names. --- lisp/ChangeLog | 11 +++++++++++ lisp/term/w32-win.el | 10 +++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 055bb70de3b..8ab0e958def 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2004-06-14 Juanma Barranquero + + * image.el (image-library-alist): New variable to map image types + to external libraries. Initialized to nil, unless system-specific + configs change it. + (image-type-available-p): Determine whether an image type is + available by calling `init-image-library'. + + * term/w32-win.el (image-library-alist): Initialize to a known set + of probable library names. + 2004-06-14 Kenichi Handa * international/code-pages.el (windows-1256, cp1125): Fix tables diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el index 8e0283222bc..cea1d3f77b8 100644 --- a/lisp/term/w32-win.el +++ b/lisp/term/w32-win.el @@ -1,6 +1,6 @@ ;;; w32-win.el --- parse switches controlling interface with W32 window system -;; Copyright (C) 1993, 1994, 2003 Free Software Foundation, Inc. +;; Copyright (C) 1993, 1994, 2003, 2004 Free Software Foundation, Inc. ;; Author: Kevin Gallo ;; Keywords: terminals @@ -1261,5 +1261,13 @@ font dialog to get the matching FONTS. Otherwise use a pop-up menu (if (null font) (error "Font not found"))))) +;;; Set default known names for image libraries +(setq image-library-alist + '((xpm "libXpm-nox4.dll" "libxpm.dll") + (png "libpng13d.dll" "libpng13.dll" "libpng12d.dll" "libpng12.dll" "libpng.dll") + (jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll" "jpeg.dll") + (tiff "libtiff3.dll" "libtiff.dll") + (gif "libungif.dll"))) + ;;; arch-tag: 69fb1701-28c2-4890-b351-3d1fe4b4f166 ;;; w32-win.el ends here -- 2.39.5