title: How to detect that emacs is in terminal-mode?
body: <p>In my <code>.emacs</code> file, I have commands that only makes sense in graphical mode (like <code>(set-frame-size (selected-frame) 166 100)</code>). How do I run these only in graphical mode and not in terminal mode (i.e. <code>emacs -nw</code>).</p>
  
  <p>Thanks!</p>