[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set window size on init
From: |
Kiwon Um |
Subject: |
Re: set window size on init |
Date: |
Wed, 11 Nov 2009 00:32:02 -0800 (PST) |
User-agent: |
G2/1.0 |
On Nov 11, 4:57 am, Xah Lee <xah...@gmail.com> wrote:
> i have, at the end of my .emacs this code:
>
> ; set window size to 100x58 chars.
> (set-frame-size (selected-frame) 100 58)
>
> however, it doesn't work.
> But eval-region the code itself would work.
>
Check default-frame-alist and init-frame-alist, e.g.:
(setq default-frame-alist '((width . 80) (height . 65)))
(setq init-frame-alist '((width . 80) (height . 65)))