From a1c5aa96e21c34036ca6915773ee18148e08bb3b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 15 Mar 2000 19:58:19 +0000 Subject: [PATCH] (Fminibuffer_complete): Set point to ZV if finding a sole completion. --- src/minibuf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/minibuf.c b/src/minibuf.c index 4307c03d1c3..1d576812022 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1714,6 +1714,8 @@ scroll the window of possible completions.") return Qnil; case 1: + if (PT != ZV) + Fgoto_char (make_number (ZV)); temp_echo_area_glyphs (" [Sole completion]"); break; -- 2.39.5