Function: elisp-demos--syntax-highlight

elisp-demos--syntax-highlight is a byte-compiled function defined in elisp-demos.el.

Signature

(elisp-demos--syntax-highlight ORGSRC)

Source Code

;; Defined in ~/.emacs.d/elpa/elisp-demos-20260826.1326/elisp-demos.el
(defun elisp-demos--syntax-highlight (orgsrc)
  (with-temp-buffer
    (insert orgsrc)
    (delay-mode-hooks (org-mode))
    (if (fboundp 'font-lock-ensure)
        (font-lock-ensure)
      (with-no-warnings
        (font-lock-fontify-buffer)))
    (buffer-string)))