diff options
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/image.el | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a709c017416..ad6fd35bc5d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-04-26 Chong Yidong <cyd@gnu.org> | 1 | 2012-04-26 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * image.el (image-type-from-buffer): Only return supported image | ||
| 4 | type (Bug#9045). | ||
| 5 | |||
| 3 | * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful | 6 | * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful |
| 4 | value, for symmetry with diff-end-of-hunk. | 7 | value, for symmetry with diff-end-of-hunk. |
| 5 | (diff-split-hunk, diff-find-source-location) | 8 | (diff-split-hunk, diff-find-source-location) |
diff --git a/lisp/image.el b/lisp/image.el index 348c208781e..27e41a57efe 100644 --- a/lisp/image.el +++ b/lisp/image.el | |||
| @@ -282,7 +282,9 @@ be determined." | |||
| 282 | types nil) | 282 | types nil) |
| 283 | (setq types (cdr types))))) | 283 | (setq types (cdr types))))) |
| 284 | (goto-char opoint) | 284 | (goto-char opoint) |
| 285 | type)) | 285 | (and type |
| 286 | (memq type image-types) | ||
| 287 | type))) | ||
| 286 | 288 | ||
| 287 | 289 | ||
| 288 | ;;;###autoload | 290 | ;;;###autoload |