Re: Please help improving my function
Glynn Clements <[email protected]> Thu, 20 Oct 2005 14:47:29 +0100
| Newsgroups | gmane.emacs.xemacs.general |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Solving 1) could be easy: Just grep the Makefile for "CC = > arm-linux-gcc". If this exists, it's an arm Makefile, otherwise x86 and I > can decide how to go on. The question is: how do I do this in elisp ? call-process returns the process' exit status; for grep, this will be 0 if it finds a match, 1 if it doesn't, and 2 if there is an error. -- Glynn Clements <[email protected]>