Function: treemacs-is-file-git-ignored?--inliner

treemacs-is-file-git-ignored?--inliner is a function defined in treemacs-core-utils.el.

Signature

(treemacs-is-file-git-ignored?--inliner INLINE--FORM FILE GIT-INFO)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
;; Closure converted to defun by helpful.
(defun treemacs-is-file-git-ignored\?--inliner
    (inline--form file git-info)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp file)
	 (file
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "file")))
	 (body
	  (let*
	      ((exp git-info)
	       (git-info
		(if
		    (macroexp-copyable-p exp)
		    exp
		  (make-symbol "git-info")))
	       (body
		(list 'eq
		      (list 'quote 'treemacs-git-ignored-face)
		      (list 'ht-get git-info file))))
	    (if
		(eq git-info exp)
		body
	      (macroexp-let*
	       (list
		(list git-info exp))
	       body)))))
      (if
	  (eq file exp)
	  body
	(macroexp-let*
	 (list
	  (list file exp))
	 body)))))