From: Gerd Moellmann Date: Wed, 15 Mar 2000 19:58:19 +0000 (+0000) Subject: (Fminibuffer_complete): Set point to ZV if finding X-Git-Tag: emacs-pretest-21.0.90~4631 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1c5aa96e21c34036ca6915773ee18148e08bb3b;p=emacs.git (Fminibuffer_complete): Set point to ZV if finding a sole completion. --- 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;