Function: treemacs--set-img-property

treemacs--set-img-property is a byte-compiled function defined in treemacs-icons.el.

Signature

(treemacs--set-img-property IMAGE PROPERTY VALUE)

Documentation

Set IMAGE's PROPERTY to VALUE.

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-icons.el
(define-inline treemacs--set-img-property (image property value)
  "Set IMAGE's PROPERTY to VALUE."
  ;; the emacs26 code where this is copied from says it's for internal
  ;; use only - let's se how that goes
  (inline-letevals (image property value)
    (inline-quote
     (progn
       (plist-put (cdr ,image) ,property ,value)
       ,value))))