Gnus development mailing list
 help / color / mirror / Atom feed
From: lawrence mitchell <0198183+ding@sms.ed.ac.uk>
Subject: patch for gnus-int.el
Date: Sun, 09 Jun 2002 22:06:31 +0100	[thread overview]
Message-ID: <ubsak6u20.fsf@ID-97657.usr.dfncis.de> (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>




             reply	other threads:[~2002-06-09 21:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-09 21:06 lawrence mitchell [this message]
2002-06-09 23:06 ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ubsak6u20.fsf@ID-97657.usr.dfncis.de \
    --to=0198183+ding@sms.ed.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).