Function: treemacs--get-or-parse-git-result--inliner

treemacs--get-or-parse-git-result--inliner is a function defined in treemacs-async.el.

Signature

(treemacs--get-or-parse-git-result--inliner INLINE--FORM FUTURE)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-async.el
;; Closure converted to defun by helpful.
(defun treemacs--get-or-parse-git-result--inliner
    (inline--form future)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp future)
	 (future
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "future")))
	 (body
	  (list 'if future
		(list '--if-let
		      (list 'process-get future
			    (list 'quote 'git-table))
		      'it
		      (list 'let
			    (list
			     (list 'result
				   (list 'treemacs--git-status-parse-function future)))
			    (list 'process-put future
				  (list 'quote 'git-table)
				  'result)
			    'result))
		'treemacs--empty-table)))
      (if
	  (eq future exp)
	  body
	(macroexp-let*
	 (list
	  (list future exp))
	 body)))))