aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Távora2020-09-09 20:12:45 +0100
committerJoão Távora2020-09-09 20:12:45 +0100
commitdd25055829a08d37ca56ee4352af8e79f6f0331c (patch)
tree2c511133f3d8cfceba4d943cb4ae26cc18c2dd5d
parentceb5d1745f4df253afdda53a96965056e441109b (diff)
downloademacs-dd25055829a08d37ca56ee4352af8e79f6f0331c.tar.gz
emacs-dd25055829a08d37ca56ee4352af8e79f6f0331c.zip
Fix up fix for bug#19032
* lisp/icomplete.el (icomplete-ret): Call minibuffer-icomplete-and-exit, not minibuffer-exit.
-rw-r--r--lisp/icomplete.el2
1 files changed, 1 insertions, 1 deletions
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."
171 (car completion-all-sorted-completions) 171 (car completion-all-sorted-completions)
172 (eql (icomplete--field-end) (icomplete--field-beg))) 172 (eql (icomplete--field-end) (icomplete--field-beg)))
173 (icomplete-force-complete-and-exit) 173 (icomplete-force-complete-and-exit)
174 (exit-minibuffer))) 174 (minibuffer-complete-and-exit)))
175 175
176(defun icomplete-force-complete-and-exit () 176(defun icomplete-force-complete-and-exit ()
177 "Complete the minibuffer with the longest possible match and exit. 177 "Complete the minibuffer with the longest possible match and exit.