diff options
| author | Eli Zaretskii | 2019-09-07 15:53:57 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-09-07 15:53:57 +0300 |
| commit | 14875443ff03d3c2b9cc63479e672957f99b730a (patch) | |
| tree | 233efde2cd6e153f7367377061a08f64a41399a4 | |
| parent | 01a04880ca7469626a03ea10481d60c5ddec4663 (diff) | |
| download | emacs-14875443ff03d3c2b9cc63479e672957f99b730a.tar.gz emacs-14875443ff03d3c2b9cc63479e672957f99b730a.zip | |
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)
| -rw-r--r-- | lisp/image-mode.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el index 5c30f4085c3..8630ac07e6d 100644 --- a/lisp/image-mode.el +++ b/lisp/image-mode.el | |||
| @@ -720,6 +720,11 @@ was inserted." | |||
| 720 | archive-superior-buffer)) | 720 | archive-superior-buffer)) |
| 721 | (not (and (boundp 'tar-superior-buffer) | 721 | (not (and (boundp 'tar-superior-buffer) |
| 722 | tar-superior-buffer)) | 722 | tar-superior-buffer)) |
| 723 | ;; This means the buffer holds the contents | ||
| 724 | ;; of a file uncompressed by jka-compr.el. | ||
| 725 | (not (and (local-variable-p | ||
| 726 | 'jka-compr-really-do-compress) | ||
| 727 | jka-compr-really-do-compress)) | ||
| 723 | ;; This means the buffer holds the | 728 | ;; This means the buffer holds the |
| 724 | ;; decrypted content (bug#21870). | 729 | ;; decrypted content (bug#21870). |
| 725 | (not (and (boundp 'epa-file-encrypt-to) | 730 | (not (and (boundp 'epa-file-encrypt-to) |