Gnus development mailing list
 help / color / mirror / Atom feed
* [patch] Stop `agent' expiry barfing on killed groups.
@ 1998-09-13 18:28 Mike McEwan
  0 siblings, 0 replies; only message in thread
From: Mike McEwan @ 1998-09-13 18:28 UTC (permalink / raw)


  I just got this having killed a group a few days back.

  I seem to remember someone else on this list mentioning it, but
forgot :-). Any way the following does it for me:

--- ChangeLog.orig	Sun Sep 13 17:23:33 1998
+++ ChangeLog	Sun Sep 13 19:20:03 1998
@@ -1,3 +1,8 @@
+1998-09-13  Mike McEwan  <mike@lotusland.demon.co.uk>
+
+	* gnus-agent.el (gnus-agent-expire): Stop expiry barfing on killed 
+	groups.
+
 Sun Sep 13 09:37:37 1998  Lars Magne Ingebrigtsen  <larsi@menja.ifi.uio.no>
 
 	* gnus.el: Pterodactyl Gnus v0.30 is released.
--- gnus-agent.el.orig	Sun Sep 13 17:23:32 1998
+++ gnus-agent.el	Sun Sep 13 19:18:44 1998
@@ -1411,7 +1411,7 @@
 	       (gnus-agent-save-alist group)
                ;; Mark all articles up to the first article
 	       ;; in `gnus-article-alist' as read.
-	       (when (caar gnus-agent-article-alist)
+	       (when (and info (caar gnus-agent-article-alist))
 		 (setcar (nthcdr 2 info)
 			 (gnus-range-add
 			  (nth 2 info)

-- 
Mike.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-09-13 18:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-13 18:28 [patch] Stop `agent' expiry barfing on killed groups Mike McEwan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).