Function: treemacs-goto-parent-node
treemacs-goto-parent-node is an interactive and byte-compiled function
defined in treemacs-interface.el.
Signature
(treemacs-goto-parent-node &optional ARG)
Documentation
Select parent of selected node, if possible.
ARG is optional and only available so this function can be used as an action.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-interface.el
(defun treemacs-goto-parent-node (&optional _arg)
"Select parent of selected node, if possible.
ARG is optional and only available so this function can be used as an action."
(interactive)
(--if-let (-some-> (treemacs-current-button) (treemacs-button-get :parent))
(goto-char it)
(treemacs-pulse-on-failure "There is no parent to move up to.")))