[Top][All Lists]

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

Re: emacs packages

From: Federico Beffa
Subject: Re: emacs packages
Date: Tue, 16 Jun 2015 21:31:20 +0200

On Tue, Jun 16, 2015 at 6:24 PM, Mark H Weaver <address@hidden> wrote:
> FYI, this pattern of using 'fold' with 'and' and a boolean seed would be
> more transparent if handled by 'every' from (srfi srfi-1):
>   (every (lambda (f)
>            (zero? (system* emacs "--batch" "-Q" "-L" el-dir
>                            "-f" "batch-byte-compile" f)))
>          (find-files "." "\\.el$"))

Thanks for the comment. I saw the form 'every' in the past, but 'fold'
always come first to my mind.  Probably because it took me more
neurons to understand how to use it :-)

> However, this won't be needed here if you use 'emacs-batch-eval' or add
> 'emacs-byte-compile' as suggested by Ludovic, which I agree is the right
> approach.

What do you think about the attached implementation?


Attachment: 0001-build-emacs-utils-Add-emacs-byte-compile.patch
Description: Text Data

reply via email to

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