emacs-devel
[Top][All Lists]
Advanced

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

Re: FIXME: When the reader is called in the minibuffer.


From: Stefan Monnier
Subject: Re: FIXME: When the reader is called in the minibuffer.
Date: Sun, 30 Jun 2019 09:50:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I was fiddling with the reader when I found this:
>
>     /* FIXME: ?! When is this used !?  */
>         return call1 (intern ("read-minibuffer"),
>                 build_string ("Lisp expression: "));
>
> This code is called when the reader is called from the minibuffer
> *without a stream*, like this:

Yes, that's the part I could figure out, indeed.
But that still leaves open the question of whether this is ever used.
IOW, what would break if we were to remove this case?

> M-:
> Eval: (read) RET
> Lisp expression: ;; Insert elisp code here

When was the last time you did that? 
And why did you do it this way rather than via (read-minibuffer "Foo: ")?


        Stefan




reply via email to

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