unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Simple elisp problem with equal
Date: Wed, 27 Apr 2005 10:28:50 +0200	[thread overview]
Message-ID: <b3087bc78e9b06b341a491f34393b7cd@Web.DE> (raw)
In-Reply-To: <20050426233542.42762.qmail@web52902.mail.yahoo.com>


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

--
Greetings

   Pete

"There's no place like 127.0.0.1"
                      origin unknown

  parent reply	other threads:[~2005-04-27  8:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-26 23:35 Simple elisp problem with equal exits funnel
2005-04-27  8:03 ` Ismael Valladolid Torres
2005-04-27  8:28 ` Peter Dyballa [this message]
     [not found] <mailman.3114.1114558674.2895.help-gnu-emacs@gnu.org>
2005-04-27  0:54 ` David Hansen
2005-04-27  1:00 ` Thien-Thi Nguyen
  -- strict thread matches above, loose matches on Subject: below --
2005-04-27 18:47 exits funnel
2005-04-27 18:59 ` Peter Dyballa
     [not found] <mailman.3210.1114627946.2895.help-gnu-emacs@gnu.org>
2005-04-27 19:05 ` David Kastrup

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3087bc78e9b06b341a491f34393b7cd@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).