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

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

Re: --script and --quick


From: Óscar Fuentes
Subject: Re: --script and --quick
Date: Tue, 26 May 2015 18:49:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> when I write an "Emacs script", a file starting with "#!/usr/bin/emacs
> --script" or similar, is there any way to force a quick start (as -Q
> would do for a regular Emacs invocation) when the script will be
> executed?  I mean, apart from using something hackish like
>
> #!/bin/sh
> ":"; exec emacs --quick --script "$0" "$@" # -*- mode: emacs-lisp -*-
>
> as first file lines instead.

Untested:

#!/usr/bin/emacs -Q --script




reply via email to

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