I have the following line of code in my .emacs file:
(global-set-key (kbd "C-<tab>") 'next-buffer) This key-binding allows me to C-<tab> my way around Emacs. However, because of certain buffers that I have open by default this becomes very tedious. So I would like a function that switches to the next buffer unless the next buffer is a certain file/buffer. More specifically the following buffers:
*GNU Emacs**scratch**Messages*.emacs
Note: Just because I want to skip them when I call next-buffer does not mean that I want to kill that buffer. I rather just get to it by pressing C-x b.