|
Re: elisp question: msg#00014emacs.sources
Vinicius Jose Latorre wrote: > stan wrote: <snip> >> 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? >> > > No, this expression returns nil or 0 (zero). > > It's evaluated as the 5th parameter (buffer) of call-process-region. > > Typing C-h f call-process-region RET, you can read: > > ...... > If buffer is 0, `call-process-region' returns immediately with > value nil. > Otherwise it waits for program to terminate > and returns a numeric exit status or a signal description string. > ...... Thanks for all the responses. For the record I asked the question badly. I typed nil when I meant 0 and I understood the syntax and most of the meaning. My confusion stemmed from the test for what I thought was a built in function. I somehow totally forgot Xemacs and older versions. I guess the lesson here is that I should probably not attempt to pose queries while playing with my grandchildren. > > > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: elisp question: 00014, Maciej Katafiasz |
|---|---|
| Next by Date: | Re: elisp question: 00014, Richard Stallman |
| Previous by Thread: | Re: elisp questioni: 00014, Maciej Katafiasz |
| Next by Thread: | Re: elisp question: 00014, Richard Stallman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |