Function: treemacs-default-buffer-name
treemacs-default-buffer-name is a byte-compiled function defined in
treemacs-scope.el.
Signature
(treemacs-default-buffer-name SCOPE)
Documentation
Default buffer name implementation for a given SCOPE.
Appends the name of the given scope to the mandatory
treemacs-buffer-name-prefix.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-scope.el
(defun treemacs-default-buffer-name (scope)
"Default buffer name implementation for a given SCOPE.
Appends the name of the given scope to the mandatory
`treemacs-buffer-name-prefix'."
(or (treemacs-scope->current-scope-name treemacs--current-scope-type scope)
(prin1-to-string scope)))