Function: cider--wrap-fontify-locals

cider--wrap-fontify-locals is a byte-compiled function defined in cider-mode.el.

Signature

(cider--wrap-fontify-locals FUNC)

Documentation

Return a function that will call FUNC after parsing local variables.

The local variables are stored in a list under the cider-locals text property.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider-mode.el
(defun cider--wrap-fontify-locals (func)
  "Return a function that will call FUNC after parsing local variables.
The local variables are stored in a list under the `cider-locals' text
property."
  (lambda (beg end &rest rest)
    (with-silent-modifications
      (remove-text-properties beg end '(cider-locals nil cider-block-dynamic-font-lock nil))
      (when cider-use-tooltips
        (add-text-properties beg end '(help-echo cider--help-echo)))
      (when cider-font-lock-dynamically
        (cider--update-locals-for-region beg end)))
    (apply func beg end rest)))