Gnus development mailing list
 help / color / mirror / Atom feed
* patch for gnus-int.el
@ 2002-06-09 21:06 lawrence mitchell
  2002-06-09 23:06 ` Simon Josefsson
  0 siblings, 1 reply; 2+ messages in thread
From: lawrence mitchell @ 2002-06-09 21:06 UTC (permalink / raw)



Having just updated from CVS, I noticed that
`gnus-request-expire-articles' was no longer working, seems that
it accidentally uses a let rather than let*, this patch fixed it
for me:

diff -u -r "f:/text/emacs/site-lisp/gnus/gnus-int.el.orig" "f:/text/emacs/site-lisp/gnus/gnus-int.el"
--- f:/text/emacs/site-lisp/gnus/gnus-int.el.orig	Sun Jun 09 22:00:07 2002
+++ f:/text/emacs/site-lisp/gnus/gnus-int.el	Sun Jun 09 22:01:00 2002
@@ -484,12 +484,12 @@
 	     info (nth 1 gnus-command-method))))
 
 (defun gnus-request-expire-articles (articles group &optional force)
-  (let ((gnus-command-method (gnus-find-method-for-group group))
-        (not-deleted 
-         (funcall 
-          (gnus-get-function gnus-command-method 'request-expire-articles)
-          articles (gnus-group-real-name group) (nth 1 gnus-command-method)
-          force)))
+  (let* ((gnus-command-method (gnus-find-method-for-group group))
+         (not-deleted
+          (funcall
+           (gnus-get-function gnus-command-method 'request-expire-articles)
+           articles (gnus-group-real-name group) (nth 1 gnus-command-method)
+           force)))
     (when (and gnus-agent gnus-agent-cache
                (gnus-sorted-difference articles not-deleted))
       (gnus-agent-expire (gnus-sorted-difference articles not-deleted)
-- 
lawrence mitchell <0198183+ding@sms.ed.ac.uk>




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: patch for gnus-int.el
  2002-06-09 21:06 patch for gnus-int.el lawrence mitchell
@ 2002-06-09 23:06 ` Simon Josefsson
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Josefsson @ 2002-06-09 23:06 UTC (permalink / raw)


lawrence mitchell <0198183+ding@sms.ed.ac.uk> writes:

> Having just updated from CVS, I noticed that
> `gnus-request-expire-articles' was no longer working, seems that
> it accidentally uses a let rather than let*, this patch fixed it
> for me:

Yup, committed, thanks.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-09 23:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-09 21:06 patch for gnus-int.el lawrence mitchell
2002-06-09 23:06 ` Simon Josefsson

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).