How do I set the size of Emacs' window?

前端 未结 10 1467
陌清茗
陌清茗 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:34

    (setq initial-frame-alist
            (append '((width . 263) (height . 112) (top . -5) (left . 5) (font . "4.System VIO"))
                    initial-frame-alist))
    
    (setq default-frame-alist
            (append '((width . 263) (height . 112) (top . -5) (left . 5) (font . "4.System VIO"))
                    default-frame-alist))
    

提交回复
热议问题