title: Emacs: menu-bar-mode and tool-bar-mode automatically set to t
body: <p>I have compiled and built Emacs24 on my system. After that, some of my .emacs customizations have stopped working.</p>
  
  <p>The most important problem is this: I have set menu-bar-mode and tool-bar-mode to nil.</p>
  
  <pre class="lang-lisp prettyprint-override"><code>;;; No Menu Bar
  (menu-bar-mode nil)
  ;;; No tool bar
  (tool-bar-mode nil)
  
  ;;; No Scrollbar
  (scroll-bar-mode nil)
  </code></pre>
  
  <p>But if I start Emacs, they are always set to t. </p>
  
  <p>Even worse: if I set it to nil using mini-buffer, and then go to scratch and type menu-bar-mode and evaluate the expression, it always changes it to t.</p>
  
  <p>Any ideas why this might be the problem, and how can I fix it?</p>