help-gnu-emacs
[Top][All Lists]
Advanced

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

RE: Silently loading site files in -batch mode


From: Doug Lewan
Subject: RE: Silently loading site files in -batch mode
Date: Mon, 6 Aug 2012 15:55:16 +0000

Everything that you (require) will be loaded -- even with -Q.

If there's something that's not, then that's a bug in the code that needs it.

,Doug

> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Jack Kelly
> Sent: Monday, 2012 August 06 04:24
> To: Andreas Röhler
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Silently loading site files in -batch mode
> 
> On Mon, Aug 6, 2012 at 3:25 PM, Andreas Röhler
> <andreas.roehler@easy-emacs.de> wrote:
> > Am 06.08.2012 00:02, schrieb Jack Kelly:
> >
> > $EMACS -Q --batch --eval "(load \"MY-FILE\" nil t)"
> 
> This is quiet and simple, but is it safe to invoke the byte-compiler
> with -Q? I worry that in some cases, a required package might not be
> loaded if -Q is used. The byte-compile could then fail if (require
> 'foo) in the compiled file fails. Or am I wrong?
> 
> -- Jack




reply via email to

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