Mercurial > hg > xemacs-beta
diff lisp/msw-glyphs.el @ 278:90d73dddcdc4 r21-0b37
Import from CVS: tag r21-0b37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:31:29 +0200 |
parents | c5d627a313b1 |
children | c42ec1d1cded |
line wrap: on
line diff
--- a/lisp/msw-glyphs.el Mon Aug 13 10:30:38 2007 +0200 +++ b/lisp/msw-glyphs.el Mon Aug 13 10:31:29 2007 +0200 @@ -43,20 +43,18 @@ ("\\`BM" [bmp :data nil] 2) ,@(if (featurep 'xpm) '(("\\.xpm\\'" [xpm :file nil] 2))) ,@(if (featurep 'xpm) '(("\\`/\\* XPM \\*/" [xpm :data nil] 2))) -; ,@(if (featurep 'xface) '(("\\`X-Face:" [xface :data nil] 2))) -; ,@(if (featurep 'gif) '(("\\.gif\\'" [gif :file nil] 2) -; ("\\`GIF8[79]" [gif :data nil] 2))) -; ,@(if (featurep 'jpeg) '(("\\.jpe?g\\'" [jpeg :file nil] 2))) -; ;; all of the JFIF-format JPEG's that I've seen begin with -; ;; the following. I have no idea if this is standard. -; ,@(if (featurep 'jpeg) '(("\\`\377\330\377\340\000\020JFIF" -; [jpeg :data nil] 2))) -; ,@(if (featurep 'png) '(("\\.png\\'" [png :file nil] 2))) -; ,@(if (featurep 'png) '(("\\`\211PNG" [png :data nil] 2))) + ,@(if (featurep 'gif) '(("\\.gif\\'" [gif :file nil] 2) + ("\\`GIF8[79]" [gif :data nil] 2))) + ,@(if (featurep 'jpeg) '(("\\.jpe?g\\'" [jpeg :file nil] 2))) + ;; all of the JFIF-format JPEG's that I've seen begin with + ;; the following. I have no idea if this is standard. + ,@(if (featurep 'jpeg) '(("\\`\377\330\377\340\000\020JFIF" + [jpeg :data nil] 2))) + ,@(if (featurep 'png) '(("\\.png\\'" [png :file nil] 2))) + ,@(if (featurep 'png) '(("\\`\211PNG" [png :data nil] 2))) + ,@(if (featurep 'tiff) '(("\\.tif?f\\'" [tiff :file nil] 2))) ("\\`X-Face:" [string :data "[xface]"]) ("\\`/\\* XPM \\*/" [string :data "[xpm]"]) - ("\\`GIF87" [string :data "[gif]"]) - ("\\`\377\330\340\000\020JFIF" [string :data "[jpeg]"]) ("" [string :data nil] 2) ;; this last one is here for pointers and icons and such -- ;; strings are not allowed so they will be ignored.