[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reading from standard input in batch mode
From: |
Noam Postavsky |
Subject: |
Re: reading from standard input in batch mode |
Date: |
Tue, 22 May 2018 17:26:22 -0400 |
On 22 May 2018 at 17:07, Eric Abrahamsen <eric@ericabrahamsen.net> wrote:
> output unfortunately also contains the string "Lisp expression:"
Might have to do with the FIXME in lread.c:
DEFUN ("read", Fread, Sread, 0, 1, 0,
doc: [...])
(Lisp_Object stream)
{
if (NILP (stream))
stream = Vstandard_input;
if (EQ (stream, Qt))
stream = Qread_char;
if (EQ (stream, Qread_char))
/* FIXME: ?! When is this used !? */
return call1 (intern ("read-minibuffer"),
build_string ("Lisp expression: "));
return read_internal_start (stream, Qnil, Qnil);
}