[Top][All Lists]

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

Re: Simple elisp problem with equal

From: Peter Dyballa
Subject: Re: Simple elisp problem with equal
Date: Wed, 27 Apr 2005 10:28:50 +0200

Am 27.04.2005 um 01:35 schrieb exits funnel:

(equal system-type "gnu/linux")

Since system-type is a symbol, I think its correct use is something like that:

        (string= (symbol-name system-type) "gnu/linux")

I don't know how commutative Elisp is (commutative means that (1+2) is the same as (2+1)), I've mostly seen statements like that:

        (string= "gnu/linux" (symbol-name system-type))



"There's no place like"
                     origin unknown

reply via email to

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