X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fgnus-delay.el;h=cc212fabb5d846ee311c8a33d60fe3343a9f8f7b;hb=162880cc7957dd33ca0c09573dc8ff526f3c8d69;hp=cb4fc9161a49713d420aca4416137aacf3484009;hpb=baa6433903e8c07f69141b65eb0281620c6916ef;p=elisp%2Fgnus.git- diff --git a/lisp/gnus-delay.el b/lisp/gnus-delay.el index cb4fc91..cc212fa 100644 --- a/lisp/gnus-delay.el +++ b/lisp/gnus-delay.el @@ -1,6 +1,6 @@ ;;; gnus-delay.el --- Delayed posting of articles -;; Copyright (C) 2001, 2002 Free Software Foundation, Inc. +;; Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. ;; Author: Kai Großjohann ;; Keywords: mail, news, extensions @@ -132,7 +132,9 @@ DELAY is a string, giving the length of the time. Possible values are: (t (error "Malformed delay `%s'" delay))) (message-add-header (format "%s: %s" gnus-delay-header deadline))) (set-buffer-modified-p t) - (nndraft-request-create-group gnus-delay-group) + ;; If group does not exist, create it. + (let ((group (format "nndraft:%s" gnus-delay-group))) + (gnus-agent-queue-setup gnus-delay-group)) (message-disassociate-draft) (nndraft-request-associate-buffer gnus-delay-group) (save-buffer 0)