Function: eca-chat--font-lock-extend-region-function

eca-chat--font-lock-extend-region-function is a natively compiled function defined in eca-chat.el.

Signature

(eca-chat--font-lock-extend-region-function BEG END OLD-LEN)

Documentation

Extend Markdown font-lock region from BEG to END with OLD-LEN.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--font-lock-extend-region-function (beg end old-len)
  "Extend Markdown font-lock region from BEG to END with OLD-LEN."
  (when (fboundp 'markdown-font-lock-extend-region-function)
    (if eca-chat-fontify-prompt
        (markdown-font-lock-extend-region-function beg end old-len)
      (let ((fontify-end (eca-chat--fontification-history-end end)))
        (when (< beg fontify-end)
          (markdown-font-lock-extend-region-function
           beg fontify-end old-len))))))