From: Simon Josefsson Date: Mon, 3 Sep 2001 17:18:59 +0000 (+0000) Subject: 2001-09-02 Benjamin Rutt X-Git-Url: http://cgit.sxemacs.org/?a=commitdiff_plain;h=6c171410ff564ce11b5f7ee9f3b5dff79575a63c;p=gnus 2001-09-02 Benjamin Rutt * nnmbox.el (nnmbox-find-article): Fix infinite loop when searching for an article that isn't in the mbox. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 75e9da13f..e544a7e8b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2001-09-02 Benjamin Rutt + + * nnmbox.el (nnmbox-find-article): Fix infinite loop when + searching for an article that isn't in the mbox. + 2001-09-02 23:12:48 Lars Magne Ingebrigtsen * nnslashdot.el (nnslashdot-retrieve-headers-1): Get references diff --git a/lisp/nnmbox.el b/lisp/nnmbox.el index 596edce90..3801100c2 100644 --- a/lisp/nnmbox.el +++ b/lisp/nnmbox.el @@ -510,9 +510,9 @@ This variable is a virtual server slot. See the Gnus manual for details.") (nnmbox-in-header-p (point))) (progn (goto-char (point-min)) - (while (not found) - (setq found (and (search-forward art-string nil t) - (nnmbox-in-header-p (point))))) + (while (and (not found) + (search-forward art-string nil t)) + (setq found (nnmbox-in-header-p (point)))) found))))) (defun nnmbox-record-active-article (group-art)