Function: treemacs-button-get--inliner

treemacs-button-get--inliner is a function defined in treemacs-core-utils.el.

Signature

(treemacs-button-get--inliner INLINE--FORM BUTTON PROP)

Source Code

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