How can I start Emacs with one process in the top window and the other in the bottom frame window?

I have some processes that are executed from functions, i.e.: Mx run-proc1 Mx run-proc2

I would like to know what command to issue from the command line to start emacs with run-proc1 working in the upper window and run-proc2 working in the lower window.

Thanks!

+4
source share
1 answer

You can get better answers later, but adding this to your ~ / .emacs.d / init.el may work.

 (split-window-vertically) (run-proc1) (other-window) (run-proc2) (other-window) 

Alternatively (for a different approach), see this link .

+4
source

Source: https://habr.com/ru/post/1310556/


All Articles