Subject: [patch] BUGFIX: lambdas are not closures

From: Dave Abrahams <[email-masked]>
Date: Thu, 28 Jul 2011 19:47:09 -0400

>From 7c0983c2f12f1e4b4f235cd1d0f26be425e6dfcb Mon Sep 17 00:00:00 2001
From: Dave Abrahams <[email-masked]>
Date: Thu, 28 Jul 2011 19:45:50 -0400
Subject: [PATCH] BUGFIX: lambdas are not closures

---
 lisp/gnus-sum.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el
index 5917c9d..36bbe6b 100644
--- a/lisp/gnus-sum.el
+++ b/lisp/gnus-sum.el
@@ -9015,9 +9015,9 @@ non-numeric or nil fetch the number specified by the
 		   (refs (split-string (or (mail-header-references header)
 					   "")))
 		   (gnus-parse-headers-hook
-		    (lambda () (goto-char (point-min))
+		    `(lambda () (goto-char (point-min))
 		      (keep-lines
-		       (regexp-opt (append refs (list id subject)))))))
+		       (regexp-opt ',(append refs (list id subject)))))))
 	      (gnus-fetch-headers (list last) (if (numberp limit)
 						  (* 2 limit) limit) t)))))
     (when (listp new-headers)
-- 
1.7.3.4

No Gnus v0.18
GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35)
 of 2011-03-09 on black.porkrind.org
200 news.gmane.org InterNetNews NNRP server INN 2.5.1 ready (posting ok)
101 Capability list:
VERSION 2
IMPLEMENTATION INN 2.5.1
AUTHINFO USER
HDR
LIST ACTIVE ACTIVE.TIMES DISTRIB.PATS HEADERS NEWSGROUPS OVERVIEW.FMT
OVER
POST
READER
STARTTLS
.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com