Variable: mh-kill-folder-suppress-prompt-hooks

mh-kill-folder-suppress-prompt-hooks is an alias and customizable for mh-kill-folder-suppress-prompt-functions, defined in mh-e.el.gz.

This variable is obsolete since 24.3; use mh-kill-folder-suppress-prompt-functions instead.

Value

(mh-search-p)

Documentation

Abnormal hook run at the beginning of F k (mh-kill-folder).

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 (mh-kill-folder) by accident in the "+inbox" folder, you will not be happy.

Aliases

mh-kill-folder-suppress-prompt-hooks (obsolete since 24.3)