gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide the thread moves us backwards and so we loop forever.
This commit is contained in:
parent
e23640bb69
commit
b018a6c910
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-05-20 Teodor Zlatanov <tzz@lifelogs.com>
|
||||
|
||||
* gnus-sum.el (gnus-summary-hide-thread): Fix bug where moving to hide
|
||||
the thread moves us backwards and so we loop forever.
|
||||
|
||||
2011-05-19 Katsumi Yamaoka <yamaoka@jpl.org>
|
||||
|
||||
* mm-bodies.el (mm-decode-content-transfer-encoding): Allow leading
|
||||
|
|
|
@ -11569,7 +11569,10 @@ Returns nil if no threads were there to be hidden."
|
|||
(let ((ol (gnus-make-overlay starteol (point) nil t nil)))
|
||||
(gnus-overlay-put ol 'invisible 'gnus-sum)
|
||||
(gnus-overlay-put ol 'evaporate t)))
|
||||
(gnus-summary-goto-subject article))
|
||||
(gnus-summary-goto-subject article)
|
||||
(when (> start (point))
|
||||
(message "Hiding the thread moved us backwards, aborting!")
|
||||
(goto-char (point-max))))
|
||||
(goto-char start)
|
||||
nil))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue