]> code.delx.au - gnu-emacs/blobdiff - lisp/image-mode.el
Rename `recenter-group' to `recenter-window-group'
[gnu-emacs] / lisp / image-mode.el
index e6d6a3edb715e2334407b23ae281caec620d223d..8ef9c277c364c45ab62df3ad3b210238de9520f8 100644 (file)
@@ -658,7 +658,12 @@ was inserted."
                           (not (and (boundp 'archive-superior-buffer)
                                     archive-superior-buffer))
                           (not (and (boundp 'tar-superior-buffer)
-                                    tar-superior-buffer)))))
+                                    tar-superior-buffer))
+                           ;; This means the buffer holds the
+                           ;; decrypted content (bug#21870).
+                           (not (and (boundp 'epa-file-encrypt-to)
+                                     (local-variable-p
+                                      'epa-file-encrypt-to))))))
         (file-or-data (if data-p
                           (string-make-unibyte
                            (buffer-substring-no-properties (point-min) (point-max)))