Function: treemacs--add-project-to-current-workspace--inliner

treemacs--add-project-to-current-workspace--inliner is a function defined in treemacs-workspaces.el.

Signature

(treemacs--add-project-to-current-workspace--inliner INLINE--FORM PROJECT)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-workspaces.el
;; Could not find source code, showing raw function object.
#[(inline--form project)
  ((ignore inline--form)
   (catch 'inline--just-use
     (let*
	 ((exp project)
	  (project
	   (if (macroexp-copyable-p exp) exp (make-symbol "project")))
	  (body
	   (list 'setf
		 (list 'treemacs-workspace->projects
		       (list 'treemacs-current-workspace))
		 (list '-let
		       [reversed
			(nreverse
			 (treemacs-workspace->projects
			  (treemacs-current-workspace)))]
		       (list 'nreverse (list 'push project 'reversed))))))
       (if (eq project exp) body
	 (macroexp-let* (list (list project exp)) body)))))
  (t)]