Function: markdown-handle-local-variables
markdown-handle-local-variables is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown-handle-local-variables)
Documentation
Run in hack-local-variables-hook to update font lock rules.
Checks to see if there is actually a ‘markdown-mode’ file local variable before regenerating font-lock rules for extensions.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-handle-local-variables ()
"Run in `hack-local-variables-hook' to update font lock rules.
Checks to see if there is actually a ‘markdown-mode’ file local variable
before regenerating font-lock rules for extensions."
(when (or (assoc 'markdown-enable-wiki-links file-local-variables-alist)
(assoc 'markdown-enable-math file-local-variables-alist))
(when (assoc 'markdown-enable-math file-local-variables-alist)
(markdown-toggle-math markdown-enable-math))
(markdown-reload-extensions)))