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

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

Re: Comparing against the single-quote symbol '


From: djfiander
Subject: Re: Comparing against the single-quote symbol '
Date: Tue, 10 Jun 2008 10:25:02 -0700 (PDT)
User-agent: G2/1.0

On Jun 10, 1:07 pm, David Kastrup <d...@gnu.org> wrote:
>
> Sure.  The symbol \' has no variable value by default.  If you don't
> want to access its variable value but rather its symbol, you need to
> quote it.  And sure enough
> '\'
> works just fine (even though it looks misleadingly symmetric).

Of course, if you want to see if the variable 'prefix' contains the a
single quote character, then you probably want to say

    (equal prefix ?')

- David


reply via email to

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