Variable: treemacs-no-delete-other-windows
treemacs-no-delete-other-windows is a customizable variable defined in
treemacs-customization.el.
Value
t
Documentation
When non-nil treemacs will have the no-delete-other-windows parameter.
This parameter prevents the treemacs window from closing when calling
delete-other-windows or when a command like magit-status would launch a new
full-screen buffer.
Note that treemacs has its own delete-windows command with
treemacs-delete-other-windows that behaves the same as delete-other-windows,
but won't close treemacs itself.
This parameter was only introduced in Emacs 26. On Emacs 25 its effect is
included in treemacs-display-in-side-window.
Source Code
;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-customization.el
(defcustom treemacs-no-delete-other-windows t
"When non-nil treemacs will have the `no-delete-other-windows' parameter.
This parameter prevents the treemacs window from closing when calling
`delete-other-windows' or when a command like `magit-status' would launch a new
full-screen buffer.
Note that treemacs has its own delete-windows command with
`treemacs-delete-other-windows' that behaves the same as `delete-other-windows',
but won't close treemacs itself.
This parameter was only introduced in Emacs 26. On Emacs 25 its effect is
included in `treemacs-display-in-side-window'."
:type 'boolean
:group 'treemacs-window)