In Emacs when I open a file from treemacs, it opens it in a new frame by splitting the window.
I use C-x 1 to close all other frames and keep the selected frame open.
This also closes the Treemacs frame, I want the Emacs frame to remain open on C-x 1. Can this be done?