Another minor fix for next-single-char-property-change.
* gnus/gnus-sum.el (gnus-summary-show-thread): next-single-char-property-change never returns nil (Bug#8657).
This commit is contained in:
parent
171e9b6ee9
commit
ada3c43450
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-06 Chong Yidong <cyd@gnu.org>
|
||||
|
||||
* gnus-sum.el (gnus-summary-show-thread):
|
||||
next-single-char-property-change never returns nil (Bug#8657).
|
||||
|
||||
2012-02-05 Lars Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* nnimap.el (nnimap-open-server): Allow switching the nnoo server
|
||||
|
|
|
@ -11579,8 +11579,7 @@ Returns nil if no thread was there to be shown."
|
|||
(beg (progn (beginning-of-line) (if (bobp) (point) (1- (point)))))
|
||||
(eoi (when end
|
||||
(if (fboundp 'next-single-char-property-change)
|
||||
(or (next-single-char-property-change end 'invisible)
|
||||
(point-max))
|
||||
(next-single-char-property-change end 'invisible)
|
||||
(while (progn
|
||||
(end-of-line 2)
|
||||
(and (not (eobp))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue