diff options
| author | Lars Magne Ingebrigtsen | 2016-08-24 23:56:12 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2016-08-24 23:56:22 +0200 |
| commit | 70cfe9df957bd2f0699f62fe5e69176313f7c8f0 (patch) | |
| tree | 15164bc00cd1b1d370c5fc374df6b3a744c56948 | |
| parent | 5332857670eb3977b192eba433ec470a391c4ea4 (diff) | |
| download | emacs-70cfe9df957bd2f0699f62fe5e69176313f7c8f0.tar.gz emacs-70cfe9df957bd2f0699f62fe5e69176313f7c8f0.zip | |
Find message.el thumbnail toggling
* lisp/gnus/message.el (message-toggle-image-thumbnails):
Don't infloop when toggling thumbnails.
| -rw-r--r-- | lisp/gnus/message.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 2ce97377362..cb4843e1462 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -8399,7 +8399,8 @@ Used in `message-simplify-recipients'." | |||
| 8399 | (when (and (consp props) | 8399 | (when (and (consp props) |
| 8400 | (eq (car props) 'image)) | 8400 | (eq (car props) 'image)) |
| 8401 | (put-text-property (point) (1+ (point)) 'display nil) | 8401 | (put-text-property (point) (1+ (point)) 'display nil) |
| 8402 | (setq displayed t))))) | 8402 | (setq displayed t))) |
| 8403 | (forward-char 1))) | ||
| 8403 | (unless displayed | 8404 | (unless displayed |
| 8404 | (save-excursion | 8405 | (save-excursion |
| 8405 | (goto-char (point-min)) | 8406 | (goto-char (point-min)) |