Package: gnus-bonus-el
Version: 26.6-1
Severity: normal
Tags: patch, upstream

The patch attached below just inserts a simple sanity check in order
to handle cases, where gnus-newsgroup-name is not set, properly. This
is the case, for example, when gnus is suspended by pressing z in the
group buffer and compose-mail (or debian-bug, for that matter) is
called later on.

--- gnus-pers.el.orig	2006-08-23 15:27:06.000000000 +0200
+++ gnus-pers.el	2006-06-13 12:39:55.000000000 +0200
@@ -868,7 +868,8 @@
 	     (retval (nthcdr 2 split))
 	     partial regexp)
 	;; Check to see if it's a "gnus-newsgroup-name" split
-	(if (equal ",gnus-newsgroup-name" (cdr (assq field gnus-personality-split-abbrev-alist)))
+	(if (and gnus-newsgroup-name
+		 (equal ",gnus-newsgroup-name" (cdr (assq field gnus-personality-split-abbrev-alist))))
 	    (let ((groupname gnus-newsgroup-name))
 	      (if (string-match value groupname)
 		  retval))

Attachment: pgpuxsClzYSXY.pgp
Description: PGP signature

Reply via email to