aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-03-15 19:58:19 +0000
committerGerd Moellmann2000-03-15 19:58:19 +0000
commita1c5aa96e21c34036ca6915773ee18148e08bb3b (patch)
tree8f4a0f721bda86666d7ba2949d2628bfd35824b6 /src
parent1fb0098cc67f1033919dca58c94af147505e10ca (diff)
downloademacs-a1c5aa96e21c34036ca6915773ee18148e08bb3b.tar.gz
emacs-a1c5aa96e21c34036ca6915773ee18148e08bb3b.zip
(Fminibuffer_complete): Set point to ZV if finding
a sole completion.
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c2
1 files changed, 2 insertions, 0 deletions
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.")
1714 return Qnil; 1714 return Qnil;
1715 1715
1716 case 1: 1716 case 1:
1717 if (PT != ZV)
1718 Fgoto_char (make_number (ZV));
1717 temp_echo_area_glyphs (" [Sole completion]"); 1719 temp_echo_area_glyphs (" [Sole completion]");
1718 break; 1720 break;
1719 1721