[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `completing-read` without RET
From: |
Stefan Monnier |
Subject: |
Re: `completing-read` without RET |
Date: |
Fri, 11 Mar 2016 08:36:03 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
>> Is there a function with the same behaviour of `completing-read`, except
>> that it doesn't need RET when only one completion exists?
> Of course, it's called `completing-read'.
> You just have to configure its TAB key accordingly.
> I.e. rebind TAB in minibuffer-local-completion-map from
> `minibuffer-complete' to a new command which does what you want.
Oh, actually, I think I misunderstood your question and there's an even
closer answer: just provide a neither-nil neither-t value for the
`require-match' argument or `completing-read'.
Stefan
- `completing-read` without RET, egarrulo, 2016/03/11
- Re: `completing-read` without RET, Stefan Monnier, 2016/03/11
- Re: `completing-read` without RET,
Stefan Monnier <=
- RE: `completing-read` without RET, Drew Adams, 2016/03/11
- Re: `completing-read` without RET, Stefan Monnier, 2016/03/11
- RE: `completing-read` without RET, Drew Adams, 2016/03/11
- Re: `completing-read` without RET, Stefan Monnier, 2016/03/11
- RE: `completing-read` without RET, Drew Adams, 2016/03/11
- Message not available
- Re: `completing-read` without RET, egarrulo, 2016/03/12