I'd like to make a simple change to Emacs so that the next-buffer and previous-buffer commands (which I have bound to C-x <RIGHT> and C-x <LEFT> will skip over the *Messages* buffer.
I'm using Emacs 24 and the Emacs Starter Kit.
I've read the following related questions and answers, but they are not what I want:
- Buffer cycling in Emacs: avoiding scratch and Messages buffer
- Emacs disable *Messages* buffer
- Emacs Lisp Buffer out of focus function?
Here are some of the reasons why they don't work:
- I'd like to keep it as simple as possible. Fewer configuration changes are better.
- I don't want to kill or prevent
*Messages*altogether. (add-to-list 'ido-ignore-buffers "^\*Messages\*"helps with myC-x b(ido-switch-buffer) but does not change hownext-bufferandprevious-bufferbehave.