]> git.eshelyaron.com Git - emacs.git/commit
Avoid point movement when visiting image files
authorEli Zaretskii <eliz@gnu.org>
Tue, 16 Feb 2021 16:20:06 +0000 (18:20 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 16 Feb 2021 16:20:06 +0000 (18:20 +0200)
commitc977370dd734be12ffbaf0da2f3db529d6175b62
tree784bcbbaf35743872e1c31b822e97ab228c337d3
parentda64a257a482e95a3a314da97260ea08635a83e0
Avoid point movement when visiting image files

* lisp/image-mode.el (image-toggle-display-image): Preserve point
around the call to exif-parse-buffer, to prevent it from moving
into the image data.  (Bug#46552)
lisp/image-mode.el