(gnus-delay-article): Remove superfluous `group' binding.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 18 Oct 2010 20:47:57 +0000 (22:47 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Mon, 18 Oct 2010 20:47:57 +0000 (22:47 +0200)
Suggested by Leo <sdl.web@gmail.com> (bug #6613).

lisp/ChangeLog
lisp/gnus-delay.el

index 3392245..e4ed053 100644 (file)
@@ -1,5 +1,8 @@
 2010-10-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-delay.el (gnus-delay-article): Remove superfluous `group'
+       binding.  Suggested by Leo <sdl.web@gmail.com> (bug #6613).
+
        * nnimap.el (nnimap-request-group): Don't SELECT the group twice on
        `M-g'.
        (nnimap-update-info): Update flags/read marks even if \* isn't part of
index 05bbaf5..a257e54 100644 (file)
@@ -133,8 +133,7 @@ DELAY is a string, giving the length of the time.  Possible values are:
     (message-add-header (format "%s: %s" gnus-delay-header deadline)))
   (set-buffer-modified-p t)
   ;; If group does not exist, create it.
-  (let ((group (format "nndraft:%s" gnus-delay-group)))
-    (gnus-agent-queue-setup gnus-delay-group))
+  (gnus-agent-queue-setup gnus-delay-group)
   (message-disassociate-draft)
   (nndraft-request-associate-buffer gnus-delay-group)
   (save-buffer 0)