[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Trouble setting a variable to a list
From: |
Drew Adams |
Subject: |
RE: Trouble setting a variable to a list |
Date: |
Fri, 17 Oct 2014 20:04:06 -0700 (PDT) |
> I tried to set the following variable to a list of strings....
>
> (setq buffers-to-skip
> '("*scratch*", "*Messages*", "*Echo Area 0*", "*Echo Area 1*",
> "*Minibuf-0*", "*Minibuf-1*",
> "*Buffer List*"))
>
> When I tried to use it and debug the problem I saw the list looked
> like this...
>
> ("*scratch*"
> (\, "*Messages*")
> (\, "*Echo Area 0*")
> (\, "*Echo Area 1*")
> (\, "*Minibuf-0*")
> (\, "*Minibuf-1*")
> (\, "*Buffer List*"))
>
> Why the \'s showed up?
Drop the commas (,):
(setq buffers-to-skip '("*scratch*" "*Messages*" "*Echo Area 0*"
"*Echo Area 1*" "*Minibuf-0*" "*Minibuf-1*"
"*Buffer List*"))