[Top][All Lists]

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

Re: elisp question

From: Maciej Katafiasz
Subject: Re: elisp question
Date: Sat, 12 May 2007 00:36:40 +0000 (UTC)
User-agent: pan 0.120 (Plate of Shrimp)

Den Thu, 10 May 2007 08:53:38 -0400 skrev stan:

> Recently I had cause to go digging into ps-print.el (turned out to be
> version problems in cygwin emacs) and I ran accross something I don't
> understand. For the record I'm not by any means an elisp programmer but
> I can usually at least read the code and do some simple things.
> The line I don't think I understand is
> (and (fboundp 'start-process) 0)
> Actually that's a fragment of a larger expression. It looks to me like
> this will always be nil. Is this some idiom I haven't seeen or is this
> just a synonym fo nil?

It's equivalent to saying

(when (fboundp 'start-process) 0)

ie. 0 if start-process is a bound function, nil otherwise.


reply via email to

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