[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21598: 24.5; Auto-revert-mode loads images as text
From: |
Nicolas Petton |
Subject: |
bug#21598: 24.5; Auto-revert-mode loads images as text |
Date: |
Mon, 25 Jul 2016 23:42:26 +0200 |
User-agent: |
Notmuch/0.21 (https://notmuchmail.org) Emacs/25.1.50.1 (x86_64-unknown-linux-gnu) |
Eli Zaretskii <eliz@gnu.org> writes:
> Actually, I see that image-mode installs an after-revert-hook, bit the
> hook function, image-after-revert-hook, does nothing in this case
> because image-get-display-property returns nil.
It seems to return nil because `revert-buffer' is called with is called
with `preserve-modes' set to non-nil, so `image-mode' is not called
again, so `image-toggle-display-image' is never called on the updated
buffer.
I installed a fix in master, commit b176d16.
Nico
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#21598: 24.5; Auto-revert-mode loads images as text,
Nicolas Petton <=