Function: eca-chat--apply-history-meta
eca-chat--apply-history-meta is a natively compiled function defined
in eca-chat.el.
Signature
(eca-chat--apply-history-meta META)
Documentation
Update buffer-local history pagination cursors from META plist.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--apply-history-meta (meta)
"Update buffer-local history pagination cursors from META plist."
(when meta
(setq-local eca-chat--history-before-cursor (plist-get meta :beforeCursor))
(setq-local eca-chat--history-after-cursor (plist-get meta :afterCursor))
(setq-local eca-chat--history-compaction-cursor (plist-get meta :compactionCursor))
(setq-local eca-chat--history-total (plist-get meta :total))))