title: Setting alt/option key to Meta in Emacs on OSX
body: <p>Yes, I've googled around and none of the answers provided seem to work. I recently got a new computer and moved my <code>.emacs</code> over and some things aren't working. Specifically the alt/option key is not detected as meta in emacs. </p>
  
  <p>I'm on:</p>
  
  <pre><code>Darwin punk.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Jan  9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64 x86_64
  </code></pre>
  
  <p>I have the following in my <code>.emacs</code>:</p>
  
  <pre><code>(if (system-is-mac)
    (setq ns-command-modifier 'meta))
  (setq mac-option-modifier 'meta)
  </code></pre>
  
  <p>And I'm running <code>iterm2 build 3.0.13</code>. </p>
  
  <p>Any help is greatly appreciated, thanks!</p>