Function: hyrolo-to-entry-end
hyrolo-to-entry-end is an interactive and byte-compiled function
defined in hyrolo.el.
Signature
(hyrolo-to-entry-end &optional INCLUDE-SUB-ENTRIES)
Documentation
Move point past the end of the current entry.
With optional prefix arg INCLUDE-SUB-ENTRIES non-nil, move past the end of the entire subtree. Return final point.
When called interactively, leave point one character earlier, before the final newline of the entry.
Return current point.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo-to-entry-end (&optional include-sub-entries)
"Move point past the end of the current entry.
With optional prefix arg INCLUDE-SUB-ENTRIES non-nil, move past
the end of the entire subtree. Return final point.
When called interactively, leave point one character earlier,
before the final newline of the entry.
Return current point."
(interactive "P")
;; In cases where a file lacks any entry delimiters and we consider
;; each line a record, outline commands can falsely move point prior
;; to its current location. Prevent this by moving to the max of
;; the (1+ start point) and the final point.
(let ((opoint (point)))
(hyrolo-move-forward (lambda () (hyrolo-move-to-entry-end include-sub-entries)))
(when (and (called-interactively-p 'any)
(not (eolp)))
(goto-char (1- (point))))
(when (<= (point) opoint)
(goto-char (min (1+ opoint) (point-max))))
(point)))