Function: eca-chat--goto-next-question

eca-chat--goto-next-question is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--goto-next-question)

Documentation

Move point onto the options of the topmost pending question, if any.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--goto-next-question ()
  "Move point onto the options of the topmost pending question, if any."
  (when-let* ((question (car (eca-chat--pending-questions-top-down)))
              (bounds (eca-chat--question-bounds question)))
    (goto-char (or (text-property-not-all (car bounds) (cdr bounds)
                                          'eca-button-on-action nil)
                   (car bounds)))))