Function: mh-process-or-undo-commands
mh-process-or-undo-commands is an autoloaded and byte-compiled
function defined in mh-folder.el.gz.
Signature
(mh-process-or-undo-commands FOLDER)
Documentation
If FOLDER has outstanding commands, then either process or discard them.
Called by functions like mh-sort-folder, so also invalidate
show buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-folder.el.gz
;;;###mh-autoload
(defun mh-process-or-undo-commands (folder)
"If FOLDER has outstanding commands, then either process or discard them.
Called by functions like `mh-sort-folder', so also invalidate
show buffer."
(set-buffer folder)
(if (mh-outstanding-commands-p)
(if (or mh-do-not-confirm-flag
(y-or-n-p
"Process outstanding deletes and refiles? "))
(mh-process-commands folder)
(set-buffer folder)
(mh-undo-folder)))
(mh-update-unseen)
(mh-invalidate-show-buffer))