summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2016-08-24 23:56:12 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2016-08-24 23:56:22 +0200
commit70cfe9df957bd2f0699f62fe5e69176313f7c8f0 (patch)
tree15164bc00cd1b1d370c5fc374df6b3a744c56948 /lisp
parent5332857670eb3977b192eba433ec470a391c4ea4 (diff)
Find message.el thumbnail toggling
* lisp/gnus/message.el (message-toggle-image-thumbnails): Don't infloop when toggling thumbnails.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/message.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 2ce9737736..cb4843e146 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -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))