[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Really noninteractive
From: |
Lars Ingebrigtsen |
Subject: |
Re: Really noninteractive |
Date: |
Thu, 20 Feb 2020 19:36:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Noam Postavsky <address@hidden> writes:
> I think if you redirect stdin from /dev/null any
> noninteractive/batch-mode reading will fail immediately.
Yes, but that's not what I want. :-) I want to say "this function
call, in this otherwise totally normal Emacs, should not prompt".
I.e., what my original example said:
(let ((noninteractive t)) (read-string "foo"))
=> error
But it's starting to sound like nobody's implemented this?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Re: Really noninteractive, Ihor Radchenko, 2020/02/20