0xAX
0xAX

Reputation: 21837

Emacs erlang buffer

I use GNU/Emacs for Erlang programming. I compile my code by issuing C-c C-k. When I call compile, Emacs opens a new buffer (Erlang). It's half the size of the original window. How can I control the size of this buffer?

Thank you.

Upvotes: 2

Views: 174

Answers (2)

jfs
jfs

Reputation: 414605

You could try:

(setq compilation-window-height 15)

Upvotes: 3

Noufal Ibrahim
Noufal Ibrahim

Reputation: 72795

I'm not sure how Erlang mode does the window splitting. Generally speaking though, the main frame is split into 2 windows vertically using split-window-vertically which takes a SIZE argument to control the size of the window (check the documentation for further details). You can see if your erlang compilation command uses this and try wrapping/advising it.

Upvotes: 2

Related Questions