Emacs Init: Set Default Window (frame) Size

By Xah Lee. Date: . Last updated: .

Set Default Window (Emacs Frame) Size

Put this in your Emacs Init File:

(push '(tool-bar-lines . 0) default-frame-alist)
(push '(width . 90) default-frame-alist)
(push '(height . 50) default-frame-alist)
initial-frame-alist
  • Variable.
  • Config for the first window emacs starts with.
  • Value is a Association List.

〔see Emacs: Show Variable Value

default-frame-alist

Reference

Emacs init, set default window size, etc