[gnus git] branch master updated: =1= Don't bug out when updating multiple headers.

Lars Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  8bba88d8ff914135dbeac96d1ad7d7f7ba313b12 (commit)
      from  c66426e1fb22d2f7767c57015af4ea5eff9fa6ea (commit)


- Log -----------------------------------------------------------------
commit 8bba88d8ff914135dbeac96d1ad7d7f7ba313b12
Author: Lars Ingebrigtsen <[email protected]>
Date:   Mon Feb 14 11:59:56 2011 -0800

     Don't bug out when updating multiple headers.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 79d6423..0bfa2b0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -10,6 +10,9 @@
 
 2011-02-14  Lars Ingebrigtsen  <[email protected]>
 
+	* gnus-art.el (article-update-date-lapsed): Don't bug out when updating
+	multiple headers.
+
 	* nnimap.el (nnimap-inhibit-logging): New variable.
 	(nnimap-log-command): Don't log login commands.
 
diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el
index 3e16308..82ad497 100644
--- a/lisp/gnus-art.el
+++ b/lisp/gnus-art.el
@@ -3641,10 +3641,11 @@ function and want to see what the date was before converting."
 		 (let ((type (get-text-property (match-beginning 0)
 						'gnus-date-type)))
 		   (when (memq type '(lapsed combined-lapsed user-format))
-		     (unless (= window-start
+		     (when (and window-start
+				(not (= window-start
 				(save-excursion
 				  (forward-line 1)
-				  (point)))
+					  (point)))))
 		       (setq window-start nil))
 		     (save-excursion
 		       (article-date-ut type t (match-beginning 0)))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    3 +++
 lisp/gnus-art.el |    9 +++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.