Reset mh-blacklist and mh-whitelist on folder undo

* mh-funcs.el (mh-undo-folder): Set mh-blacklist and mh-whitelist
to nil, as is done with the other lists of pending operations.
This commit is contained in:
Stephen Gildea 2018-07-31 22:29:47 -07:00
parent 95931085fa
commit 17205d3617

View file

@ -357,6 +357,8 @@ Arguments are IGNORED (for `revert-buffer')."
(yes-or-no-p "Undo all commands in folder? "))
(setq mh-delete-list nil
mh-refile-list nil
mh-blacklist nil
mh-whitelist nil
mh-seq-list nil
mh-next-direction 'forward)
(with-mh-folder-updating (nil)