summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-group.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2018-04-17 02:11:02 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2018-04-17 02:11:02 +0200
commitb0d261e29e5c1ffb9bc76e3519dd7525ab1edac4 (patch)
treeb5afdc80e9be72978b4004da2e7b8aba8e9f4d0c /lisp/gnus/gnus-group.el
parentc8be645598a53423e4b30954a502f2cfcdf1b434 (diff)
downloademacs-b0d261e29e5c1ffb9bc76e3519dd7525ab1edac4.tar.gz
(gnus-group-goto-group): Return correct value after previous patch
* lisp/gnus/gnus-group.el (gnus-group-goto-group): Return the correct value after the previous patch.
Diffstat (limited to 'lisp/gnus/gnus-group.el')
-rw-r--r--lisp/gnus/gnus-group.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index a53adecd110..271c3c838bf 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2607,11 +2607,13 @@ If TEST-MARKED, the line must be marked."
found))
(t
;; Search through the entire buffer.
- (unless (gnus-goto-char
- (text-property-any
- (point-min) (point-max)
- 'gnus-group (gnus-intern-safe group gnus-active-hashtb)))
- (goto-char start)))))))
+ (if (gnus-goto-char
+ (text-property-any
+ (point-min) (point-max)
+ 'gnus-group (gnus-intern-safe group gnus-active-hashtb)))
+ (point)
+ (goto-char start)
+ nil))))))
(defun gnus-group-next-group (n &optional silent)
"Go to next N'th newsgroup.