Each time Emacs starts up, I'd like its window to take up the full height of my screen.
Now, from the man page, I found this could be done with the -fh
switch.
It somewhat works, but is there a way I could do the following:
1) Specify the -fh
option in .emacs
, so I don't have to type it every time.
2) Make new frames (those you create with C-x 5 2
, etc.) also obey this setting. Right now, even if I run emacs -fh
, the new frames seem to completely ignore it.
Thanks.
Try
(add-to-list 'initial-frame-alist `(fullscreen . fullheight))
(add-to-list 'default-frame-alist `(fullscreen . fullheight))
See Section 29.3.2: Initial Frame Parameters.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With