mh-pack-folder
mh-pack-folder is an interactive autoloaded Lisp function in `mh-funcs.el
'.
(mh-pack-folder RANGE)
Pack folder.
This command packs the folder, removing gaps from the numbering
sequence. If you don't want to rescan the entire folder
afterward, this command will accept a RANGE. Check the
documentation of `mh-interactive-range' to see how RANGE is read
in interactive use.
This command will ask if you want to process refiles or deletes
first and then either run x for you or undo
the pending refiles and deletes.
The hook `mh-pack-folder-hook' is run after the folder is packed;
see its documentation for variables it can use.