Function: treemacs--get-img-property--inliner

treemacs--get-img-property--inliner is a function defined in treemacs-icons.el.

Signature

(treemacs--get-img-property--inliner INLINE--FORM IMAGE PROPERTY)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-icons.el
;; Closure converted to defun by helpful.
(defun treemacs--get-img-property--inliner
    (inline--form image property)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp image)
	 (image
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "image")))
	 (body
	  (let*
	      ((exp property)
	       (property
		(if
		    (macroexp-copyable-p exp)
		    exp
		  (make-symbol "property")))
	       (body
		(list 'plist-get
		      (list 'cdr image)
		      property)))
	    (if
		(eq property exp)
		body
	      (macroexp-let*
	       (list
		(list property exp))
	       body)))))
      (if
	  (eq image exp)
	  body
	(macroexp-let*
	 (list
	  (list image exp))
	 body)))))