diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/image.el | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a73c38bd522..fd8e77c9c53 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-11-01 Claudio Bley <claudio.bley@googlemail.com> | 1 | 2013-11-01 Claudio Bley <claudio.bley@googlemail.com> |
| 2 | 2 | ||
| 3 | * image.el (image-type-header-regexps): Fix the 'pbm' part to | ||
| 4 | allow comments in pbm files. | ||
| 5 | |||
| 3 | * term/w32-win.el (dynamic-library-alist): Support newer versions | 6 | * term/w32-win.el (dynamic-library-alist): Support newer versions |
| 4 | of libjpeg starting with v7: look only for the DLL from the | 7 | of libjpeg starting with v7: look only for the DLL from the |
| 5 | version against which Emacs was built. | 8 | version against which Emacs was built. |
diff --git a/lisp/image.el b/lisp/image.el index 6ce5b82ec48..69d890719d2 100644 --- a/lisp/image.el +++ b/lisp/image.el | |||
| @@ -34,7 +34,10 @@ | |||
| 34 | 34 | ||
| 35 | (defconst image-type-header-regexps | 35 | (defconst image-type-header-regexps |
| 36 | `(("\\`/[\t\n\r ]*\\*.*XPM.\\*/" . xpm) | 36 | `(("\\`/[\t\n\r ]*\\*.*XPM.\\*/" . xpm) |
| 37 | ("\\`P[1-6][[:space:]]+\\(?:#.*[[:space:]]+\\)*[0-9]+[[:space:]]+[0-9]+" . pbm) | 37 | ("\\`P[1-6]\\\(?:\ |
| 38 | \\(?:\\(?:#[^\r\n]*[\r\n]\\)?[[:space:]]\\)+\ | ||
| 39 | \\(?:\\(?:#[^\r\n]*[\r\n]\\)?[0-9]\\)+\ | ||
| 40 | \\)\\{2\\}" . pbm) | ||
| 38 | ("\\`GIF8[79]a" . gif) | 41 | ("\\`GIF8[79]a" . gif) |
| 39 | ("\\`\x89PNG\r\n\x1a\n" . png) | 42 | ("\\`\x89PNG\r\n\x1a\n" . png) |
| 40 | ("\\`[\t\n\r ]*#define \\([a-z0-9_]+\\)_width [0-9]+\n\ | 43 | ("\\`[\t\n\r ]*#define \\([a-z0-9_]+\\)_width [0-9]+\n\ |