Function: treemacs--tokenize-path--inliner

treemacs--tokenize-path--inliner is a function defined in treemacs-core-utils.el.

Signature

(treemacs--tokenize-path--inliner INLINE--FORM PATH EXCLUDE-PREFIX)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
;; Could not find source code, showing raw function object.
#[(inline--form path exclude-prefix)
  ((ignore inline--form)
   (catch 'inline--just-use
     (let*
	 ((exp path)
	  (path
	   (if (macroexp-copyable-p exp) exp (make-symbol "path")))
	  (body
	   (let*
	       ((exp exclude-prefix)
		(exclude-prefix
		 (if (macroexp-copyable-p exp) exp
		   (make-symbol "exclude-prefix")))
		(body
		 (list 'treemacs-split-path
		       (list 'substring path
			     (list 'length exclude-prefix)))))
	     (if (eq exclude-prefix exp) body
	       (macroexp-let* (list (list exclude-prefix exp)) body)))))
       (if (eq path exp) body
	 (macroexp-let* (list (list path exp)) body)))))
  (t)]