+2011-04-06 Juanma Barranquero <lekktu@gmail.com>
+
+ * mh-funcs.el (mh-undo-folder): Accept and ignore arguments,
+ for compatibility with `revert-buffer'. Doc fix. (Bug#8431)
+
2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
* mh-funcs.el (mh-store-msg, mh-store-buffer):
(error "Error occurred during execution of %s" command)))))
;;;###mh-autoload
-(defun mh-undo-folder ()
- "Undo all refiles and deletes in the current folder."
+(defun mh-undo-folder (&rest _ignored)
+ "Undo all refiles and deletes in the current folder.
+Arguments are IGNORED (for `revert-buffer')."
(interactive)
(cond ((or mh-do-not-confirm-flag
(yes-or-no-p "Undo all commands in folder? "))