summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-02-06 21:59:13 +0800
committerChong Yidong <cyd@gnu.org>2012-02-06 21:59:13 +0800
commitada3c434500c0a0b079e42a3d751ff9d56dd0ed4 (patch)
treebf05b9875b3b0269704a2c8701f38a4fc390f00d /lisp
parent171e9b6ee99daea6cc7845bf66f694a529e44631 (diff)
downloademacs-ada3c434500c0a0b079e42a3d751ff9d56dd0ed4.tar.gz
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).
Diffstat (limited to 'lisp')
-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 @@
+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
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."
(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))