from the `derived-mode-p' test.
+2012-02-02 Juri Linkov <juri@jurta.org>
+
+ * image-mode.el (image-toggle-display-image): Remove tautological
+ `major-mode' from the `derived-mode-p' test.
+
2012-02-02 Kenichi Handa <handa@m17n.org>
* composite.el (compose-region, compose-string): Signal error for
"Show the image of the image file.
Turn the image data into a real image, but only if the whole file
was inserted."
- (unless (derived-mode-p 'image-mode major-mode)
+ (unless (derived-mode-p 'image-mode)
(error "The buffer is not in Image mode"))
(let* ((filename (buffer-file-name))
(data-p (not (and filename