]> code.delx.au - gnu-emacs/blobdiff - lisp/gnus/mm-decode.el
Leading "*" in the doc of defvars is long obsolete.
[gnu-emacs] / lisp / gnus / mm-decode.el
index f45337dc04222c60b0ae41766e252e773ace3c5c..744474ca1133657f77974f0c393e052a005fb1a1 100644 (file)
@@ -425,13 +425,15 @@ functions), `mm-file-name-delete-whitespace',
   :group 'mime-display)
 
 
-(defvar mm-path-name-rewrite-functions nil
-  "*List of functions for rewriting the full file names of MIME parts.
+(defcustom mm-path-name-rewrite-functions nil
+  "List of functions for rewriting the full file names of MIME parts.
 This is used when viewing parts externally, and is meant for
 transforming the absolute name so that non-compliant programs can find
 the file where it's saved.
 
-Each function takes a file name as input and returns a file name.")
+Each function takes a file name as input and returns a file name."
+  :type '(repeat function)
+  :group 'mime-display)
 
 (defvar mm-file-name-replace-whitespace nil
   "String used for replacing whitespace characters; default is `\"_\"'.")