* nndraft.el (nndraft-request-accept-article): Error if the group
authorShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 6 Mar 2002 18:48:01 +0000 (18:48 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 6 Mar 2002 18:48:01 +0000 (18:48 +0000)
is drafts.

lisp/ChangeLog
lisp/nndraft.el

index 68f99a3..5208327 100644 (file)
@@ -1,5 +1,8 @@
 2002-03-06  ShengHuo ZHU  <zsh@cs.rochester.edu>
 
+       * nndraft.el (nndraft-request-accept-article): Error if the group
+       is drafts.
+
        * message.el (message-add-action): Use add-to-list.
        (message-delete-action): New function.
 
index 0820b34..901489a 100644 (file)
 
 (deffoo nndraft-request-accept-article (group &optional server last noinsert)
   (nndraft-possibly-change-group group)
+  (if (equal group "drafts")
+      (error "nndraft:drafts isn't supposed to accept articles."))
   (let ((gnus-verbose-backends nil))
     (nnoo-parent-function 'nndraft 'nnmh-request-accept-article
                          (list group server last noinsert))))