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

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

bug#4616: 23.1.50; empty script files


From: Andreas Schwab
Subject: bug#4616: 23.1.50; empty script files
Date: Sun, 04 Oct 2009 10:13:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Markus Rost <address@hidden> writes:

> Execute an Emacs script file with no actual lisp code in it, like this:
>
> ===File ~/x.el==============================================
> #!/home/rost/build/cvs/emacs/src/emacs --script
>
> ============================================================
>
> One gets an error:
>
> End of file during parsing: /home/rost/x.el
>
> Same problem if the file has some additional ";"-commented lines in it.

The Emacs Lisp reader always requires at least one sexp in the input.
This is independent of the source of the input.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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