Function: treemacs-dom-node->set-position!--inliner

treemacs-dom-node->set-position!--inliner is a function defined in treemacs-dom.el.

Signature

(treemacs-dom-node->set-position!--inliner INLINE--FORM SELF VALUE)

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-dom.el
;; Closure converted to defun by helpful.
(defun treemacs-dom-node->set-position!--inliner
    (inline--form self value)
  (ignore inline--form)
  (catch 'inline--just-use
    (let*
	((exp self)
	 (self
	  (if
	      (macroexp-copyable-p exp)
	      exp
	    (make-symbol "self")))
	 (body
	  (let*
	      ((exp value)
	       (value
		(if
		    (macroexp-copyable-p exp)
		    exp
		  (make-symbol "value")))
	       (body
		(list 'setf
		      (list 'treemacs-dom-node->position self)
		      value)))
	    (if
		(eq value exp)
		body
	      (macroexp-let*
	       (list
		(list value exp))
	       body)))))
      (if
	  (eq self exp)
	  body
	(macroexp-let*
	 (list
	  (list self exp))
	 body)))))