How to make Emacs to be started by emacs in the same window as command line? I can do it by typing emacs -nw, but can I put a line into .emacs so that it would work automatically?
How to make Emacs to be started by emacs in the same window as
Share
The short answer is “no”.
By the time your .emacs is read, the choice whether to use a graphical or non-graphical display has been made.
Perhaps a shell alias would better suit your needs
You can verify this by adding
at the top of your .emacs and run both graphical and non-graphical variants of Emacs, either way you get prompted after the Emacs has come up (graphically or non-graphically).