]> git.eshelyaron.com Git - emacs.git/commitdiff
Find message.el thumbnail toggling
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 24 Aug 2016 21:56:12 +0000 (23:56 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 24 Aug 2016 21:56:22 +0000 (23:56 +0200)
* lisp/gnus/message.el (message-toggle-image-thumbnails):
Don't infloop when toggling thumbnails.

lisp/gnus/message.el

index 2ce9737736228be5f32a4dbf8abd06ea3974e884..cb4843e14628f3ab0b65f43ebc318bab2b1540af 100644 (file)
@@ -8399,7 +8399,8 @@ Used in `message-simplify-recipients'."
          (when (and (consp props)
                     (eq (car props) 'image))
            (put-text-property (point) (1+ (point)) 'display nil)
-           (setq displayed t)))))
+           (setq displayed t)))
+       (forward-char 1)))
     (unless displayed
       (save-excursion
        (goto-char (point-min))