Function: eca-chat-inline--viewport-mode
eca-chat-inline--viewport-mode is an interactive and natively compiled
function defined in eca-chat-inline.el.
Signature
(eca-chat-inline--viewport-mode &optional ARG)
Documentation
Buffer-wide keys while an ECA inline overlay is displayed.
Internal; enabled and disabled by the inline overlay lifecycle. The scroll keys fall back to their regular bindings when there is nothing to scroll.
This is a minor mode. If called interactively, toggle the
Eca-Chat-Inline--Viewport mode mode. If the prefix argument is
positive, enable the mode, and if it is zero or negative, disable the
mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the mode
if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate the variable eca-chat-inline--viewport-mode(var)/eca-chat-inline--viewport-mode(fun).
The mode's hook is called both when the mode is enabled and when it is disabled.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat-inline.el
(define-minor-mode eca-chat-inline--viewport-mode
"Buffer-wide keys while an ECA inline overlay is displayed.
Internal; enabled and disabled by the inline overlay lifecycle.
The scroll keys fall back to their regular bindings when there is
nothing to scroll."
:keymap eca-chat-inline-viewport-map
:lighter nil)