Function: eca-table--apply-markdown-markup-visibility

eca-table--apply-markdown-markup-visibility is a natively compiled function defined in eca-table.el.

Signature

(eca-table--apply-markdown-markup-visibility)

Documentation

Apply ECA chat markdown markup visibility in current buffer.

Safe to call repeatedly: add-to-invisibility-spec does not check for duplicates, and this runs on every width measurement.

Source Code

;; Defined in /nix/store/jklqzw6pzz6j4jrbv8wy0iwgi7jlrbld-emacs-packages-deps/share/emacs/site-lisp/elpa/eca-20260928.1827/eca-table.el
(defun eca-table--apply-markdown-markup-visibility ()
  "Apply ECA chat markdown markup visibility in current buffer.
Safe to call repeatedly: `add-to-invisibility-spec' does not check
for duplicates, and this runs on every width measurement."
  (if eca-chat-hide-markdown-markup
      (unless (and (listp buffer-invisibility-spec)
                   (memq 'markdown-markup buffer-invisibility-spec))
        (add-to-invisibility-spec 'markdown-markup))
    (remove-from-invisibility-spec 'markdown-markup)))