[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to limit to one window with multiple args?
From: |
Xah |
Subject: |
Re: How to limit to one window with multiple args? |
Date: |
Thu, 21 Aug 2008 14:27:37 -0700 (PDT) |
User-agent: |
G2/1.0 |
you can put this line:
(delete-other-windows)
as the last line in your “.emacs”. That should make it just one
“frame” (aka emacs's “window”).
If you want the first file, one hack could be:
(other-window) (delete-other-windows)
as the last line.
(should work but i haven't tested the code)
Xah
∑ http://xahlee.org/
☄
On Aug 21, 12:12 pm, Ingo Strüwing <Ingo.Struew...@web.de> wrote:
> Hi,
>
> when starting emacs with multiple (file-)arguments, it starts with two
> windows (in one frame), buffering the last two files.
>
> Is it possible to configure emacs so that it opens one window only?
>
> Additional question:
>
> Is it possible to configure emacs so that it switches to the buffer of
> the first file on startup, not the last one? (ideally reversing the
> initial buffer list)
>
> Regards
> Ingo