Function: mh-execute-commands

mh-execute-commands is an autoloaded, interactive and byte-compiled function defined in mh-folder.el.gz.

Signature

(mh-execute-commands)

Documentation

Perform outstanding operations.

If you've marked messages to be refiled, deleted, blocklisted, or allowlisted and you want to go ahead and perform these operations on these messages, use this command. Many MH-E commands that may affect the numbering of the messages (such as F r (mh-rescan-folder) or F p (mh-pack-folder)) will ask if you want to perform these operations first and then either run this command for you or undo the pending operations.

This function runs mh-before-commands-processed-hook before the commands are processed and mh-after-commands-processed-hook after the commands are processed.

Key Bindings

Aliases

Mh-Summ-expunge

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-folder.el.gz
;;;###mh-autoload
(defun mh-execute-commands ()
  "Perform outstanding operations\\<mh-folder-mode-map>.

If you've marked messages to be refiled, deleted, blocklisted, or
allowlisted and you want to go ahead and perform these operations
on these messages, use this command. Many MH-E commands that may
affect the numbering of the messages (such as
\\[mh-rescan-folder] or \\[mh-pack-folder]) will ask if you want
to perform these operations first and then either run this
command for you or undo the pending operations.

This function runs `mh-before-commands-processed-hook' before the
commands are processed and `mh-after-commands-processed-hook'
after the commands are processed."
  (interactive)
  (if mh-folder-view-stack (mh-widen t))
  (mh-process-commands mh-current-folder)
  (mh-set-scan-mode)
  (mh-goto-cur-msg)                    ; after mh-set-scan-mode for efficiency
  (mh-make-folder-mode-line)
  t)                                    ; return t for write-file-functions