[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master dd25055: Fix up fix for bug#19032

From: Joo Tvora
Subject: master dd25055: Fix up fix for bug#19032
Date: Wed, 9 Sep 2020 15:13:40 -0400 (EDT)

branch: master
commit dd25055829a08d37ca56ee4352af8e79f6f0331c
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Fix up fix for bug#19032
    * lisp/icomplete.el (icomplete-ret): Call
    minibuffer-icomplete-and-exit, not minibuffer-exit.
 lisp/icomplete.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 93514d2..4e54680 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -171,7 +171,7 @@ icompletion is occurring."
            (car completion-all-sorted-completions)
            (eql (icomplete--field-end) (icomplete--field-beg)))
-    (exit-minibuffer)))
+    (minibuffer-complete-and-exit)))
 (defun icomplete-force-complete-and-exit ()
   "Complete the minibuffer with the longest possible match and exit.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]