Function: eca-chat--beautify-tables

eca-chat--beautify-tables is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--beautify-tables &optional FROM)

Documentation

Apply visual enhancements to markdown tables in the chat buffer.

When FROM is non-nil, scan from that position; otherwise scan from the last user message. Respects eca-chat-table-beautify. Falls back to point-max as the end bound when the prompt area overlay is missing (see #283).

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--beautify-tables (&optional from)
  "Apply visual enhancements to markdown tables in the chat buffer.
When FROM is non-nil, scan from that position; otherwise scan from
the last user message.  Respects `eca-chat-table-beautify'.  Falls
back to `point-max' as the end bound when the prompt area overlay
is missing (see #283)."
  (eca-table-beautify (or from eca-chat--last-user-message-pos (point-min))
                      (or (eca-chat--prompt-area-start-point) (point-max))))