|
From: | Lennart Borgman (gmail) |
Subject: | Re: C file recoginzed as image file |
Date: | Fri, 05 Jan 2007 15:52:33 +0100 |
User-agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
Chris Moore wrote:
Charles Rendleman <address@hidden> writes:$ cat not_image_file.c #define $ emacs -Q not_image_file.c $image.el has: (defconst image-type-header-regexps ... ("\\`[\t\n\r ]*#define" . xbm) ... so any file beginning with optional white space and then #define is treated as an xbm image. Similarly, any text file which starts with the 4 characters "GIF8" is treated as if it was an image.
It would be rather surprising at least on w32 if a file with extension .c was an image file.
[Prev in Thread] | Current Thread | [Next in Thread] |