emacs-devel
[Top][All Lists]
Advanced

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

Re: ignoring autoloads in preloaded files on Windows


From: Stefan Monnier
Subject: Re: ignoring autoloads in preloaded files on Windows
Date: Tue, 13 Oct 2009 15:16:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>> (when (ignore-errors
>> (ignore-errors (delete-file tmpfile))
>> (shell-command (format "make -C %s echolisp > %s"
>> mdir tmpfile))

> The other problem with this is that the -C switch is not supported by
> nmake.  So I think it's better to bind default-directory to mdir
> instead, and then read the echolisp.tmp file from that directory.

I also always recommend the use of call-process over shell-command, when
there's a choice, as is the case here.


        Stefan




reply via email to

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