Function: treemacs--unslash--inliner

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

Signature

(treemacs--unslash--inliner INLINE--FORM PATH)

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)
  ((ignore inline--form)
   (catch 'inline--just-use
     (let*
	 ((exp path)
	  (path
	   (if (macroexp-copyable-p exp) exp (make-symbol "path")))
	  (body
	   (list 'if
		 (list 'and (list '> (list 'length path) 1)
		       (list 'eq 47
			     (list 'aref path
				   (list '1- (list 'length path)))))
		 (list 'substring path 0 -1) path)))
       (if (eq path exp) body
	 (macroexp-let* (list (list path exp)) body)))))
  (t)]