Function: treemacs-icon-for-mode--inliner
treemacs-icon-for-mode--inliner is a function defined in
treemacs-icons.el.
Signature
(treemacs-icon-for-mode--inliner INLINE--FORM MODE)
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-icons.el
;; Closure converted to defun by helpful.
(defun treemacs-icon-for-mode--inliner
(inline--form mode)
(ignore inline--form)
(catch 'inline--just-use
(let*
((exp mode)
(mode
(if
(macroexp-copyable-p exp)
exp
(make-symbol "mode")))
(body
(list 'ht-get 'treemacs-icons mode
(list 'with-no-warnings 'treemacs-icon-fallback))))
(if
(eq mode exp)
body
(macroexp-let*
(list
(list mode exp))
body)))))