mh-kill-folder-suppress-prompt-functions

mh-kill-folder-suppress-prompt-functions is a variable defined in `mh-e.el'.
Its value is
(mh-search-p)

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

Documentation:
Abnormal hook run at the beginning of F k.

The hook functions are called with no arguments and should return
a non-nil value to suppress the normal prompt when you remove a
folder. This is useful for folders that are easily regenerated.

The default value of `mh-search-p' suppresses the prompt on
folders generated by searching.

WARNING: Use this hook with care. If there is a bug in your hook
which returns t on "+inbox" and you hit F k by
accident in the "+inbox" folder, you will not be happy.

You can customize this variable.

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