Function: treemacs-get-icon-value
treemacs-get-icon-value is a macro defined in treemacs-icons.el.
Signature
(treemacs-get-icon-value EXT &optional TUI THEME)
Documentation
Get the value of an icon for extension EXT.
If TUI is non-nil the terminal fallback value is returned. THEME is the name of the theme to look in. Will cause an error if the theme does not exist.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-icons.el
(defmacro treemacs-get-icon-value (ext &optional tui theme)
"Get the value of an icon for extension EXT.
If TUI is non-nil the terminal fallback value is returned.
THEME is the name of the theme to look in. Will cause an error if the theme
does not exist."
`(let* ((theme ,(if theme
`(treemacs--find-theme ,theme)
`(treemacs-current-theme)))
(icons ,(if tui
`(treemacs-theme->tui-icons theme)
`(treemacs-theme->gui-icons theme))))
(ht-get icons ,ext)))