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

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

Re: Read another with M-RET


From: Andreas Politz
Subject: Re: Read another with M-RET
Date: Wed, 08 Dec 2010 15:19:46 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Nordlöw <per.nordlow@gmail.com> writes:

> How do I modify read-string-list so that RET ends loop a single read
> and M-RET finishes current input and ask for another instead of the
> logic given in the code below where RET finishes current and ask for
> another and a final empty string (just RET) instead ends the loop?
>
> Thanks in advance,
> Nordlöw
>

Define the key in minibuffer-local-map as `exit-minibuffer' around your
code.

-ap


reply via email to

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