title: Make emacs next-buffer skip *Messages* buffer
body: <p>I'd like to make a simple change to Emacs so that the <code>next-buffer</code> and <code>previous-buffer</code> commands (which I have bound to <code>C-x &lt;RIGHT&gt;</code> and <code>C-x &lt;LEFT&gt;</code> will skip over the <code>*Messages*</code> buffer.</p>
  
  <p>I'm using Emacs 24 and the <a href="https://github.com/technomancy/emacs-starter-kit" rel="noreferrer">Emacs Starter Kit</a>.</p>
  
  <p>I've read the following related questions and answers, but they are not what I want:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/7699870/buffer-cycling-in-emacs-avoiding-scratch-and-messages-buffer">Buffer cycling in Emacs: avoiding scratch and Messages buffer</a></li>
  <li><a href="https://stackoverflow.com/questions/10164929/emacs-disable-messages-buffer">Emacs disable *Messages* buffer</a></li>
  <li><a href="https://stackoverflow.com/questions/9536186/emacs-lisp-buffer-out-of-focus-function">Emacs Lisp Buffer out of focus function?</a></li>
  </ul>
  
  <p>Here are some of the reasons why they don't work:</p>
  
  <ul>
  <li>I'd like to keep it as simple as possible. Fewer configuration changes are better.</li>
  <li>I don't want to kill or prevent <code>*Messages*</code> altogether.</li>
  <li><code>(add-to-list 'ido-ignore-buffers "^\*Messages\*"</code> helps with my <code>C-x b</code> (<code>ido-switch-buffer</code>) but does not change how <code>next-buffer</code> and <code>previous-buffer</code> behave.</li>
  </ul>