emacs-devel
[Top][All Lists]
Advanced

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

Re: start-process: nil check on arg program


From: Andreas Röhler
Subject: Re: start-process: nil check on arg program
Date: Thu, 25 Aug 2016 09:11:09 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.2.0



On 25.08.2016 08:58, Tino Calancha wrote:


On Thu, 25 Aug 2016, Andreas Schwab wrote:

On Aug 25 2016, Tino Calancha <address@hidden> wrote:

* If program is nil, for instance,
(start-process "foo" "buf" nil)
which IMO it shouldn't ever happend, that check don't
prevent the creation of a useless process.

nil is explicitly documented as a meaningful argument.
You are right. Thanks!
Maybe in my example has no much sense, i mean, just
(start-process "foo" "buf" nil)
but with additional arguments,
i.e.
(start-process "foo" "buf" nil args)
it might have sense.


Don't understand the additional arguments here at stake:
Doku says WRT program-slot in question:

If nil, just associate a pty with the buffer.




reply via email to

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