mm-file-name-rewrite-functions

mm-file-name-rewrite-functions is a variable defined in `mm-decode.el'.
Its value is

(mm-file-name-delete-control mm-file-name-delete-gotchas)

  • This variable may be risky if used as a file-local variable.

Documentation:
List of functions used for rewriting file names of MIME parts.
Each function takes a file name as input and returns a file name.

Ready-made functions include `mm-file-name-delete-control',
`mm-file-name-delete-gotchas' (you should not remove these two
functions), `mm-file-name-delete-whitespace',
`mm-file-name-trim-whitespace', `mm-file-name-collapse-whitespace',
`mm-file-name-replace-whitespace', `capitalize', `downcase',
`upcase', and `upcase-initials'.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 23.1 of Emacs.