]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix up fix for bug#19032
authorJoão Távora <joaotavora@gmail.com>
Wed, 9 Sep 2020 19:12:45 +0000 (20:12 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 9 Sep 2020 19:12:45 +0000 (20:12 +0100)
* lisp/icomplete.el (icomplete-ret): Call
minibuffer-icomplete-and-exit, not minibuffer-exit.

lisp/icomplete.el

index 93514d2cc81680d2a212890a81736d532142dd3c..4e546807b7f0c8cf77449ebecef73c09beb3e70b 100644 (file)
@@ -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.