help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble setting a variable to a list


From: Alexis
Subject: Re: Trouble setting a variable to a list
Date: Sat, 18 Oct 2014 14:10:19 +1100

Chris Seberino writes:

> 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?

You're using commas to separate items in your list, but elements of
lists are separated by spaces. Trying removing all the commas.


Alexis.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]