X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fgnus-agent.el;h=04bdb3be6267a8621dfc801f0d82403bdc0bff02;hb=3460cecc07d9e5b646fee8b6d40627204f6bb263;hp=4788deba5da71e99a7ea0c7b156ec49b6c498d9b;hpb=2221e0c8b9d88c6fb95faaf8f1431f7d454425cd;p=gnus diff --git a/lisp/gnus-agent.el b/lisp/gnus-agent.el index 4788deba5..04bdb3be6 100644 --- a/lisp/gnus-agent.el +++ b/lisp/gnus-agent.el @@ -459,10 +459,7 @@ manipulated as follows: (let ((def (or (gnus-group-group-name) gnus-newsgroup-name))) (when def (setq def (gnus-group-decoded-name def))) - (gnus-group-completing-read (if def - (concat "Group Name (" def "): ") - "Group Name: ") - nil nil t nil nil def))) + (gnus-group-completing-read nil nil t nil nil def))) ;;; Fetching setup functions. @@ -816,11 +813,11 @@ be a select method." (interactive (list (intern - (completing-read - "Add to category: " - (mapcar (lambda (cat) (list (symbol-name (car cat)))) + (gnus-completing-read + "Add to category" + (mapcar (lambda (cat) (symbol-name (car cat))) gnus-category-alist) - nil t)) + t)) current-prefix-arg)) (let ((cat (assq category gnus-category-alist)) c groups)