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

[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:22:47 -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.


        Stefan




reply via email to

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