emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 1487544: Support visiting compressed image files


From: Eli Zaretskii
Subject: [Emacs-diffs] master 1487544: Support visiting compressed image files
Date: Sat, 7 Sep 2019 08:54:31 -0400 (EDT)

branch: master
commit 14875443ff03d3c2b9cc63479e672957f99b730a
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Support visiting compressed image files
    
    * lisp/image-mode.el (image-toggle-display-image): Support
    visiting compressed image files which are uncompressed by
    jka-compr.el.  (Bug#37330)
---
 lisp/image-mode.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 5c30f40..8630ac0 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -720,6 +720,11 @@ was inserted."
                                     archive-superior-buffer))
                           (not (and (boundp 'tar-superior-buffer)
                                     tar-superior-buffer))
+                           ;; This means the buffer holds the contents
+                           ;; of a file uncompressed by jka-compr.el.
+                           (not (and (local-variable-p
+                                      'jka-compr-really-do-compress)
+                                     jka-compr-really-do-compress))
                            ;; This means the buffer holds the
                            ;; decrypted content (bug#21870).
                            (not (and (boundp 'epa-file-encrypt-to)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]