diff options
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el index a8f937233d..52ccbbf86d 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1894,8 +1894,8 @@ the various files." (not nonexistent) ;; It is confusing to ask whether to visit ;; non-literally if they have the file in - ;; hexl-mode. - (not (eq major-mode 'hexl-mode))) + ;; hexl-mode or image-mode. + (not (memq major-mode '(hexl-mode image-mode)))) (if (buffer-modified-p) (if (y-or-n-p (format |