Function: treemacs-dom-node->remove-from-dom!--inliner
treemacs-dom-node->remove-from-dom!--inliner is a function defined in
treemacs-dom.el.
Signature
(treemacs-dom-node->remove-from-dom!--inliner INLINE--FORM SELF)
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-dom.el
;; Closure converted to defun by helpful.
(defun treemacs-dom-node->remove-from-dom!--inliner
(inline--form self)
(ignore inline--form)
(catch 'inline--just-use
(let*
((exp self)
(self
(if
(macroexp-copyable-p exp)
exp
(make-symbol "self")))
(body
(list 'progn
(list 'ht-remove! 'treemacs-dom
(list 'treemacs-dom-node->key self))
(list 'let
(list
(list 'parent
(list 'treemacs-dom-node->parent self)))
(list 'setf
(list 'treemacs-dom-node->children 'parent)
(list 'delete self
(list 'treemacs-dom-node->children 'parent))))
(list 'dolist
(list 'key
(list 'treemacs-dom-node->collapse-keys self))
(list 'ht-remove! 'treemacs-dom 'key)))))
(if
(eq self exp)
body
(macroexp-let*
(list
(list self exp))
body)))))