Function: mh-index-do-search
mh-index-do-search is an interactive and byte-compiled function
defined in mh-search.el.gz.
Signature
(mh-index-do-search &optional SEARCHER)
Documentation
Find messages using mh-search-program.
If optional argument SEARCHER is present, use it instead of
mh-search-program.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-search.el.gz
;;; MH-Search Commands
(defun mh-index-do-search (&optional searcher)
"Find messages using `mh-search-program'.
If optional argument SEARCHER is present, use it instead of
`mh-search-program'."
(interactive)
(unless (mh-search-choose searcher) (error "No search program found"))
(let* ((regexp-list (mh-pick-parse-search-buffer))
(pattern (funcall mh-search-regexp-builder regexp-list)))
(if pattern
(mh-search mh-current-folder pattern nil mh-previous-window-config)
(error "No search terms"))))