Function: treemacs--splice-icon

treemacs--splice-icon is a macro defined in treemacs-icons.el.

Signature

(treemacs--splice-icon ICON)

Documentation

Splice the given ICON data depending on whether it is a value or an sexp.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-icons.el
(defmacro treemacs--splice-icon (icon)
  "Splice the given ICON data depending on whether it is a value or an sexp."
  (if (listp icon)
      `(progn ,@icon)
    `(progn ,icon)))