Function: eca-chat--freeform-question

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

Signature

(eca-chat--freeform-question)

Documentation

Return the pending question that prompt text answers, or nil.

That is the topmost one accepting a freeform answer.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--freeform-question ()
  "Return the pending question that prompt text answers, or nil.
That is the topmost one accepting a freeform answer."
  (-first (lambda (question) (plist-get question :allow-freeform))
          (eca-chat--pending-questions-top-down)))