Function: hyrolo-to-previous-entry

hyrolo-to-previous-entry is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo-to-previous-entry)

Documentation

Move point to prev entry or hdr in a hyrolo-mode match buffer and return t.

If no such entry, don't move and return nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260822.1645/hyrolo.el
(defun hyrolo-to-previous-entry ()
  "Move point to prev entry or hdr in a `hyrolo-mode' match buffer and return t.
If no such entry, don't move and return nil."
  ;; Either at the start of an entry or move back to its start
  (unless (get-text-property (point) :hyrolo-level)
    (goto-char (1- (previous-single-property-change (point) :hyrolo-level))))
  ;; Move back to start of prior entry
  (let (found)
    (while (and (setq found (/= (point) (goto-char (or (previous-single-property-change
							(point) :hyrolo-level)
						       (point)))))
		(not (get-text-property (point) :hyrolo-level))))
    found))