mh-default-folder-for-message-function

mh-default-folder-for-message-function is a variable defined in `mh-e.el'.
Its value is
nil

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

Documentation:
Function to select a default folder for refiling or "Fcc:".

When this function is called, the current buffer contains the message
being refiled and point is at the start of the message. This function
should return the default folder as a string with a leading "+"
sign. It can also return nil so that the last folder name is used as
the default, or an empty string to suppress the default entirely.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 8.0 of the MH-E package that is part of Emacs 22.1.