Synch to No Gnus 200401100427.
[elisp/gnus.git-] / lisp / gnus-msg.el
index 0430000..e5006ec 100644 (file)
@@ -1604,7 +1604,7 @@ The current group name will be inserted at \"%s\".")
                 (not (gnus-group-read-only-p group)))
       (setq group (read-string "Put in group: " nil (gnus-writable-groups))))
 
-    (when (gnus-gethash group gnus-newsrc-hashtb)
+    (when (gnus-group-entry group)
       (error "No such group: %s" group))
     (save-excursion
       (save-restriction