• NicolasPetton's avatar
    Fix auto-reverting image-mode buffer (bug#21598) · b176d169
    NicolasPetton authored
    When auto-reverting an image buffer, `image-mode' is not called since
    `revert-buffer' is called with `preserve-modes' set to non-nil.
    
    * lisp/image-mode.el (image-after-revert-hook): Check if there is an
    image display property for the current buffer before updating it.
    b176d169
image-mode.el 45.3 KB