From dd25055829a08d37ca56ee4352af8e79f6f0331c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Wed, 9 Sep 2020 20:12:45 +0100 Subject: [PATCH] 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 93514d2cc81..4e546807b7f 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))) (icomplete-force-complete-and-exit) - (exit-minibuffer))) + (minibuffer-complete-and-exit))) (defun icomplete-force-complete-and-exit () "Complete the minibuffer with the longest possible match and exit. -- 2.39.2