ignore certain buffers using iswitchb

Posted by robUK on Stack Overflow See other posts from Stack Overflow or by robUK
Published on 2010-04-21T05:28:02Z Indexed on 2010/04/21 5:33 UTC
Read the original article Hit count: 282

Filed under:

Hello,

GNU Emacs 23.1

I am using iswitchb. However, when I press c-x b I get a list of buffers. However, I don't want to display one like scratch, Messages, GNU Emacs, etc. Just the buffers I have opened myself.

So I am looking for a way to ignore these buffers. This is what I have in my configuration. However, it doesn't ignore the buffers I don't want. Have I done anything wrong?

;; Setup iswitchb to select different buffers, ignore buffers to reduce list
(iswitchb-mode 1)
(setq iswitchb-buffer-ignore '("*scratch*"))
(setq iswitchb-buffer-ignore '("*Messages*"))
(setq iswitchb-buffer-ignore '("*GNU Emacs*"))
(setq iswitchb-buffer-ignore '("*compilation*"))

Many thanks for any suggestions,

© Stack Overflow or respective owner

Related posts about emacs