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

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

Re: code listp to determine wich os I'm running on


From: Tassilo Horn
Subject: Re: code listp to determine wich os I'm running on
Date: Sat, 01 Feb 2014 00:01:14 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> (message system-type)
>
> This should signal an error, since system-type is not a string and is
> hence inappropriate for the first arg of message.
> So, if you don't see any error message in your *Messages*, that means
> this bit of code was not executed.

And what you actually wanted do use is

  (message "Look mom, I'm running on %s!" system-type)

Bye,
Tassilo



reply via email to

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