aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-02-06 21:59:13 +0800
committerChong Yidong2012-02-06 21:59:13 +0800
commitada3c434500c0a0b079e42a3d751ff9d56dd0ed4 (patch)
treebf05b9875b3b0269704a2c8701f38a4fc390f00d
parent171e9b6ee99daea6cc7845bf66f694a529e44631 (diff)
downloademacs-ada3c434500c0a0b079e42a3d751ff9d56dd0ed4.tar.gz
emacs-ada3c434500c0a0b079e42a3d751ff9d56dd0ed4.zip
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/ChangeLog5
-rw-r--r--lisp/gnus/gnus-sum.el3
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 740a2340243..493734dc7bf 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12012-02-06 Chong Yidong <cyd@gnu.org>
2
3 * gnus-sum.el (gnus-summary-show-thread):
4 next-single-char-property-change never returns nil (Bug#8657).
5
12012-02-05 Lars Ingebrigtsen <larsi@gnus.org> 62012-02-05 Lars Ingebrigtsen <larsi@gnus.org>
2 7
3 * nnimap.el (nnimap-open-server): Allow switching the nnoo server 8 * 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 d0a582e2712..7b234a3df22 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."
11579 (beg (progn (beginning-of-line) (if (bobp) (point) (1- (point))))) 11579 (beg (progn (beginning-of-line) (if (bobp) (point) (1- (point)))))
11580 (eoi (when end 11580 (eoi (when end
11581 (if (fboundp 'next-single-char-property-change) 11581 (if (fboundp 'next-single-char-property-change)
11582 (or (next-single-char-property-change end 'invisible) 11582 (next-single-char-property-change end 'invisible)
11583 (point-max))
11584 (while (progn 11583 (while (progn
11585 (end-of-line 2) 11584 (end-of-line 2)
11586 (and (not (eobp)) 11585 (and (not (eobp))