Function: mh-index-next-folder
mh-index-next-folder is an autoloaded, interactive and byte-compiled
function defined in mh-search.el.gz.
Signature
(mh-index-next-folder &optional BACKWARD-FLAG)
Documentation
Jump to the next folder marker.
With non-nil optional argument BACKWARD-FLAG, jump to the previous group of results.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/mh-e/mh-search.el.gz
;; Navigation
;;;###mh-autoload
(defun mh-index-next-folder (&optional backward-flag)
"Jump to the next folder marker.
With non-nil optional argument BACKWARD-FLAG, jump to the previous
group of results."
(interactive "P")
(if (null mh-index-data)
(message "Only applicable in an MH-E index search buffer")
(let ((point (point)))
(forward-line (if backward-flag 0 1))
(cond ((if backward-flag
(re-search-backward "^\\+" (point-min) t)
(re-search-forward "^\\+" (point-max) t))
(beginning-of-line))
((and (if backward-flag
(goto-char (point-max))
(goto-char (point-min)))
nil))
((if backward-flag
(re-search-backward "^\\+" (point-min) t)
(re-search-forward "^\\+" (point-max) t))
(beginning-of-line))
(t (goto-char point))))))