emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; Setting font during startup makes emacs window enormous


From: Christoph Conrad
Subject: Re: 23.0.60; Setting font during startup makes emacs window enormous
Date: Mon, 10 Mar 2008 09:14:03 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60

Hi Alec,

* Alec Berryman <address@hidden> wrote:

> (set-default-font "DejaVu Sans Mono-14")

Try using keep-size:

,----
| (set-default-font font-name &optional keep-size)
| 
| [...]
| 
| The default behavior is to keep the numbers of lines and columns in
| the frame, thus may change its pixel size. If optional keep-size is
| non-nil (interactively, prefix argument) the current frame size (in
| pixels) is kept by adjusting the numbers of the lines and columns.
`----

so simply call (set-default-font "DejaVu Sans Mono-14" t).

With kind regards,
Christoph





reply via email to

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