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: Rusi
Subject: Re: code listp to determine wich os I'm running on
Date: Fri, 31 Jan 2014 06:05:49 -0800 (PST)
User-agent: G2/1.0

On Friday, January 31, 2014 6:58:36 PM UTC+5:30, Stefan Monnier wrote:
> > (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.

>         Stefan

So you can do this instead

(message "System is %s" system-type)

[If you know printf in C this should make sense...  No?]


reply via email to

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