Mercurial > emacs
comparison lisp/image.el @ 38709:00a56d6da660
(image-type-regexps): Use `\`' instead of `^' in
most regular expressions.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Tue, 07 Aug 2001 08:03:10 +0000 |
| parents | b7bd53c4820a |
| children | 8b3c56aabe92 |
comparison
equal
deleted
inserted
replaced
| 38708:456acc0ad1ee | 38709:00a56d6da660 |
|---|---|
| 29 "Image support." | 29 "Image support." |
| 30 :group 'multimedia) | 30 :group 'multimedia) |
| 31 | 31 |
| 32 | 32 |
| 33 (defconst image-type-regexps | 33 (defconst image-type-regexps |
| 34 '(("^/\\*.*XPM.\\*/" . xpm) | 34 '(("\\`/\\*.*XPM.\\*/" . xpm) |
| 35 ("^P[1-6]" . pbm) | 35 ("\\`P[1-6]" . pbm) |
| 36 ("^GIF8" . gif) | 36 ("\\`GIF8" . gif) |
| 37 ("JFIF" . jpeg) | 37 ("JFIF" . jpeg) |
| 38 ("^\211PNG\r\n" . png) | 38 ("\\`\211PNG\r\n" . png) |
| 39 ("^#define" . xbm) | 39 ("\\`#define" . xbm) |
| 40 ("^\\(MM\0\\*\\)\\|\\(II\\*\0\\)" . tiff) | 40 ("\\`\\(MM\0\\*\\)\\|\\(II\\*\0\\)" . tiff) |
| 41 ("^%!PS" . postscript)) | 41 ("\\`%!PS" . postscript)) |
| 42 "Alist of (REGEXP . IMAGE-TYPE) pairs used to auto-detect image types. | 42 "Alist of (REGEXP . IMAGE-TYPE) pairs used to auto-detect image types. |
| 43 When the first bytes of an image file match REGEXP, it is assumed to | 43 When the first bytes of an image file match REGEXP, it is assumed to |
| 44 be of image type IMAGE-TYPE.") | 44 be of image type IMAGE-TYPE.") |
| 45 | 45 |
| 46 | 46 |
