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

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

Re: confusion about quote


From: B. T. Raven
Subject: Re: confusion about quote
Date: Sun, 04 Nov 2012 20:35:36 -0600
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

Die Sun Nov 04 2012 19:55:36 GMT-0600 (Central Standard Time) Will
Parsons <oudeis@nodomain.invalid> scripsit:

> In looking at some elisp that I found somewhere, I see:
> 
>   (setq whitespace-style (quote (face lines-tail tabs trailing)))
> 
> How does this differ from:
> 
>   (setq whitespace-style '(face lines-tail tabs trailing))
> 
> if in fact it does?
> 
> (I found the description of the function "quote" to be somewhat
> confusing.)
> 


Heus tu, Vilhelme! Here's the straight dope:

http://www.gnu.org/software/emacs/manual/html_node/elisp/Quoting.html

where it says "the read syntax 'x is an abbreviation for (quote x)."

Ed


reply via email to

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