[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: limit number and types of windows on 'Compile Command` to 2?
From: |
Óscar Fuentes |
Subject: |
Re: limit number and types of windows on 'Compile Command` to 2? |
Date: |
Sat, 01 Feb 2014 00:40:30 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
ivowel@gmail.com writes:
> Depending on the width of the terminal, emacs may split one of the
> buffers vertically or horizontally when I run a compile (or replace
> the other window with the compile window).
>
> I would like to imitate the "old" behavior, where one could only have
> two windows (current plus compile), and they were lower and upper
> windows, not left and right windows. how would I set this?
See the docstring of variable split-window-preferred-function, although
possibly the easier route is simply to set split-width-threshold to a
large value.