diff options
| author | Gerd Moellmann | 2000-03-15 19:58:19 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-03-15 19:58:19 +0000 |
| commit | a1c5aa96e21c34036ca6915773ee18148e08bb3b (patch) | |
| tree | 8f4a0f721bda86666d7ba2949d2628bfd35824b6 /src | |
| parent | 1fb0098cc67f1033919dca58c94af147505e10ca (diff) | |
| download | emacs-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.c | 2 |
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 | ||