+2004-02-27 Simon Josefsson <jas@extundo.com>
+
+ * gnus-sum.el (gnus-move-group-prefix-function): Add, default to
+ gnus-group-real-prefix.
+ (gnus-summary-move-article): Use it, instead of
+ gnus-group-real-prefix.
+
2004-02-27 Katsumi Yamaoka <yamaoka@jpl.org>
* lpath.el: Bind w3m-safe-url-regexp.
(cons :value ("" "") regexp (repeat string))
(sexp :value nil))))
+(defcustom gnus-move-group-prefix-function 'gnus-group-real-prefix
+ "Function used to compute default prefix for article move/copy/etc prompts.
+The function should take one argument, a group name, and return a
+string with the suggested prefix."
+ :group 'gnus-summary-mail
+ :type 'function)
+
(defcustom gnus-unread-mark ?\ ;;;Whitespace
"*Mark used for unread articles."
:group 'gnus-summary-marks
(let ((articles (gnus-summary-work-articles n))
(prefix (if (gnus-check-backend-function
'request-move-article gnus-newsgroup-name)
- (gnus-group-real-prefix gnus-newsgroup-name)
+ (funcall gnus-move-group-prefix-function
+ gnus-newsgroup-name)
""))
(names '((move "Move" "Moving")
(copy "Copy" "Copying")