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

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

--script and --quick


From: Michael Heerdegen
Subject: --script and --quick
Date: Tue, 26 May 2015 16:44:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hello,

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

--8<---------------cut here---------------start------------->8---
#!/bin/sh
":"; exec emacs --quick --script "$0" "$@" # -*- mode: emacs-lisp -*-
--8<---------------cut here---------------end--------------->8---

as first file lines instead.


Thanks,

Michael.



reply via email to

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