]> git.eshelyaron.com Git - emacs.git/commitdiff
Reset mh-blacklist and mh-whitelist on folder undo
authorStephen Gildea <stepheng+emacs@gildea.com>
Wed, 1 Aug 2018 05:29:47 +0000 (22:29 -0700)
committerStephen Gildea <stepheng+emacs@gildea.com>
Wed, 1 Aug 2018 05:29:47 +0000 (22:29 -0700)
* mh-funcs.el (mh-undo-folder): Set mh-blacklist and mh-whitelist
to nil, as is done with the other lists of pending operations.

lisp/mh-e/mh-funcs.el

index 661d0ec7569cac7d1c699fb51199d53b074ff3eb..3574f8c801d1b3918d6ff2cfeddc43e233bc84f6 100644 (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)