Function: treemacs-current-scope-shelf--inliner

treemacs-current-scope-shelf--inliner is a function defined in treemacs-scope.el.

Signature

(treemacs-current-scope-shelf--inliner INLINE--FORM &optional SCOPE)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-scope.el
;; Closure converted to defun by helpful.
(defun treemacs-current-scope-shelf--inliner
    (inline--form &optional scope)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp scope)
	 (scope
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "scope")))
	 (body
	  (list 'cdr
		(list 'assoc
		      (list 'or scope
			    (list 'treemacs-current-scope))
		      'treemacs--scope-storage))))
      (if
	  (eq scope exp)
	  body
	(macroexp-let*
	 (list
	  (list scope exp))
	 body)))))