diff options
Diffstat (limited to 'lisp/image/exif.el')
-rw-r--r-- | lisp/image/exif.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/image/exif.el b/lisp/image/exif.el index 2dc9419b817..c2cf2346408 100644 --- a/lisp/image/exif.el +++ b/lisp/image/exif.el @@ -118,8 +118,9 @@ If the data is invalid, an `exif-error' is signaled." dest)) (when-let ((app1 (cdr (assq #xffe1 (exif--parse-jpeg))))) (exif--parse-exif-chunk app1)))) - (when-let ((app1 (cdr (assq #xffe1 (exif--parse-jpeg))))) - (exif--parse-exif-chunk app1))))) + (save-excursion + (when-let ((app1 (cdr (assq #xffe1 (exif--parse-jpeg))))) + (exif--parse-exif-chunk app1)))))) (defun exif-orientation (exif) "Return the orientation (in degrees) in EXIF. |