[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: same-buffer-window-names
From: |
Drew Adams |
Subject: |
RE: same-buffer-window-names |
Date: |
Wed, 3 Jun 2009 09:12:12 -0700 |
> (nconc same-window-buffer-names '("*Buffer List*"))
> C-x C-b doesn't give me a single window and *Buffer List* in it.
Not sure what you're trying to do, but it seems unlikely that you need/want to
use `nconc' here.
My crystal ball divines that this is what you really want:
(add-to-list 'same-window-buffer-names "*Buffer List*")
Or just Customize `same-window-buffer-names'.
If order were important (it's not, here), and you wanted *Buffer List* appended
instead of prepended, you could use this:
(add-to-list 'same-window-buffer-names "*Buffer List*" 'append)