Function: treemacs--parent--inliner

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

Signature

(treemacs--parent--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 'treemacs-with-path path :file-action
		 (list 'treemacs--parent-dir path) :extension-action
		 (list '-butlast path) :no-match-action
		 (list 'user-error
		       "Path %s appears to be neither a file nor an extension"
		       path))))
       (if (eq path exp) body
	 (macroexp-let* (list (list path exp)) body)))))
  (t)]