Function: eca-chat--pending-questions-top-down

eca-chat--pending-questions-top-down is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--pending-questions-top-down)

Documentation

Return the pending questions in the order they show in the chat.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--pending-questions-top-down ()
  "Return the pending questions in the order they show in the chat."
  (sort (copy-sequence eca-chat--pending-questions)
        (-on #'< (lambda (question)
                   (or (car (eca-chat--question-bounds question))
                       most-positive-fixnum)))))