Function: treemacs--should-reenter?--inliner

treemacs--should-reenter?--inliner is a function defined in treemacs-rendering.el.

Signature

(treemacs--should-reenter?--inliner INLINE--FORM PATH)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-rendering.el
;; Closure converted to defun by helpful.
(defun treemacs--should-reenter\?--inliner
    (inline--form path)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp path)
	 (path
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "path")))
	 (body
	  (list 'let
		(list
		 (list 'path
		       (list 'cond
			     (list
			      (list 'stringp path)
			      path)
			     (list
			      (list 'and
				    (list 'consp path)
				    (list 'stringp
					  (list 'car path)))
			      (list 'car path)))))
		(list 'if 'path
		      (list 'or 'treemacs-show-hidden-files
			    (list 'not
				  (list 's-matches\? 'treemacs-dotfiles-regex
					(list 'treemacs--filename 'path))))
		      t))))
      (if
	  (eq path exp)
	  body
	(macroexp-let*
	 (list
	  (list path exp))
	 body)))))