Function: treemacs-node-buffer-and-position

treemacs-node-buffer-and-position is an autoloaded, interactive and byte-compiled function defined in treemacs-mouse-interface.el.

Signature

(treemacs-node-buffer-and-position &optional _)

Documentation

Return source buffer or list of buffer and position for the current node.

This information can be used for future display. Stay in the selected window and ignore any prefix argument.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-mouse-interface.el
;;;###autoload
(defun treemacs-node-buffer-and-position (&optional _)
  "Return source buffer or list of buffer and position for the current node.
This information can be used for future display.  Stay in the selected window
and ignore any prefix argument."
  (interactive "P")
  (treemacs-without-messages
    (treemacs--execute-button-action
     :file-action (find-file-noselect (treemacs-safe-button-get btn :path))
     :dir-action (find-file-noselect (treemacs-safe-button-get btn :path))
     :tag-action (treemacs--tag-noselect btn)
     :window (selected-window)
     :window-arg '(4)
     :ensure-window-split nil
     :no-match-explanation "")))