diff options
author | Chong Yidong <[email protected]> | 2012-02-06 21:59:13 +0800 |
---|---|---|
committer | Chong Yidong <[email protected]> | 2012-02-06 21:59:13 +0800 |
commit | ada3c434500c0a0b079e42a3d751ff9d56dd0ed4 (patch) | |
tree | bf05b9875b3b0269704a2c8701f38a4fc390f00d | |
parent | 171e9b6ee99daea6cc7845bf66f694a529e44631 (diff) |
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).
-rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/gnus/gnus-sum.el | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 740a234024..493734dc7b 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2012-02-06 Chong Yidong <[email protected]> + + * gnus-sum.el (gnus-summary-show-thread): + next-single-char-property-change never returns nil (Bug#8657). + 2012-02-05 Lars Ingebrigtsen <[email protected]> * nnimap.el (nnimap-open-server): Allow switching the nnoo server diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index d0a582e271..7b234a3df2 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el @@ -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)) |