How do I set the size of Emacs' window?

前端 未结 10 1463
陌清茗
陌清茗 2020-12-04 06:19

I\'m trying to detect the size of the screen I\'m starting emacs on, and adjust the size and position the window it is starting in (I guess that\'s the frame in emacs-speak)

10条回答
  •  青春惊慌失措
    2020-12-04 06:31

    Try adding the following code to .emacs

    (add-to-list 'default-frame-alist '(height . 24))
    
    (add-to-list 'default-frame-alist '(width . 80)) 
    

提交回复
热议问题