title: emacs - startup window size changed from default to maximum
body: <p>I use below code to setup emacs using fullscreen:</p>
  
  <pre><code>(setq initial-frame-alist '( (fullscreen . maximized)))
  (setq default-frame-alist '( (fullscreen . fullheight)))
  </code></pre>
  
  <p>I wish it startup with maximized window, the behavior is almost as expected but the window size firstly with default size, then I can see it changed to maximum size obviously.</p>
  
  <p>How can emacs startup to fullscreen in one step?</p>
  
  <p><a href="https://i.stack.imgur.com/UKYu0.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UKYu0.gif" alt="enter image description here"></a></p>