Function: treemacs--goto-custom-project-node--inliner

treemacs--goto-custom-project-node--inliner is a function defined in treemacs-core-utils.el.

Signature

(treemacs--goto-custom-project-node--inliner INLINE--FORM PATH)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-core-utils.el
;; Closure converted to defun by helpful.
(defun treemacs--goto-custom-project-node--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 '-when-let
		(list 'result
		      (list 'treemacs--find-custom-project-node path))
		(list 'treemacs--evade-image)
		(list 'hl-line-highlight)
		(list '-when-let
		      (list 'window
			    (list 'get-buffer-window))
		      (list 'set-window-point 'window
			    (list 'point)))
		'result)))
      (if
	  (eq path exp)
	  body
	(macroexp-let*
	 (list
	  (list path exp))
	 body)))))