help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set window size on init


From: Eli Zaretskii
Subject: Re: set window size on init
Date: Wed, 11 Nov 2009 20:31:51 +0200

> From: Xah Lee <xahlee@gmail.com>
> Date: Tue, 10 Nov 2009 11:57:14 -0800 (PST)
> 
> 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.

Does it help to run this from term-setup-hook or window-setup-hook?

The reason for the inconsistency is that Emacs initializes the GUI
display at some specific point during startup, and any customizations
of the display before that point will generally be overridden.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]