Function: ewoc-goto-next
ewoc-goto-next is a byte-compiled function defined in ewoc.el.gz.
Signature
(ewoc-goto-next EWOC ARG)
Documentation
Move point to the ARGth next element in EWOC.
Return the node (or nil if we just passed the last node).
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/ewoc.el.gz
(defun ewoc-goto-next (ewoc arg)
"Move point to the ARGth next element in EWOC.
Return the node (or nil if we just passed the last node)."
(ewoc--set-buffer-bind-dll-let* ewoc
((node (ewoc-locate ewoc (point))))
(while (and node (> arg 0))
(setq arg (1- arg))
(setq node (ewoc--node-next dll node)))
;; Never step below the first element.
;; (unless (ewoc--filter-hf-nodes ewoc node)
;; (setq node (ewoc--node-nth dll -2)))
(unless node
(error "No next"))
(ewoc-goto-node ewoc node)))