Function: eca-chat--install-fontification-overrides
eca-chat--install-fontification-overrides is a natively compiled
function defined in eca-chat.el.
Signature
(eca-chat--install-fontification-overrides)
Documentation
Install ECA chat fontification wrappers in current buffer.
Source Code
;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-chat.el
(defun eca-chat--install-fontification-overrides ()
"Install ECA chat fontification wrappers in current buffer."
(unless (eq syntax-propertize-function #'eca-chat--syntax-propertize)
(setq-local eca-chat--syntax-propertize-function syntax-propertize-function)
(setq-local syntax-propertize-function #'eca-chat--syntax-propertize))
(remove-hook 'syntax-propertize-extend-region-functions
#'markdown-syntax-propertize-extend-region t)
(add-hook 'syntax-propertize-extend-region-functions
#'eca-chat--syntax-propertize-extend-region-function nil t)
(remove-hook 'jit-lock-after-change-extend-region-functions
#'markdown-font-lock-extend-region-function t)
(add-hook 'jit-lock-after-change-extend-region-functions
#'eca-chat--font-lock-extend-region-function t t)
(setq-local font-lock-fontify-region-function #'eca-chat--fontify-region))