]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fminibuffer_complete): Set point to ZV if finding
authorGerd Moellmann <gerd@gnu.org>
Wed, 15 Mar 2000 19:58:19 +0000 (19:58 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 15 Mar 2000 19:58:19 +0000 (19:58 +0000)
a sole completion.

src/minibuf.c

index 4307c03d1c31b45343e30bbd06931a858fbf52d4..1d5768120225e78cc7c95408584fbaba807cd330 100644 (file)
@@ -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;