[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-commit] Changes to auctex/preview/prv-xemacs.el,v
From: |
David Kastrup |
Subject: |
[AUCTeX-commit] Changes to auctex/preview/prv-xemacs.el,v |
Date: |
Fri, 01 Dec 2006 20:20:20 +0000 |
CVSROOT: /sources/auctex
Module name: auctex
Changes by: David Kastrup <dak> 06/12/01 20:20:20
Index: prv-xemacs.el
===================================================================
RCS file: /sources/auctex/auctex/preview/prv-xemacs.el,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- prv-xemacs.el 1 Dec 2006 18:00:15 -0000 1.80
+++ prv-xemacs.el 1 Dec 2006 20:20:20 -0000 1.81
@@ -153,16 +153,16 @@
;; Images.
+(defsubst preview-supports-image-type (imagetype)
+ "Return whether IMAGETYPE is supported by XEmacs."
+ (memq imagetype (image-instantiator-format-list)))
+
;; TODO: Generalize this so we can create the fixed icons using it.
;; Argh, dired breaks :file :(
;; This is a temporary kludge to get around that until a fixed dired
;; or a fixed XEmacs is released.
-(defsubst preview-supports-image-type (imagetype)
- "Return whether IMAGETYPE is supported by XEmacs."
- (memq imagetype (image-instantiator-format-list)))
-
(defun preview-create-icon-1 (file type ascent)
"Create an icon from FILE, image TYPE and ASCENT."
(let ((glyph