Commit 8a4de19d authored by João Távora's avatar João Távora

Fix bug when completing file names

* lisp/minibuffer.el (completion--nth-completion): Fix bug when
requote function is needed.
parent 68bce247
Pipeline #4006 failed with stage
in 43 minutes and 22 seconds
......@@ -958,9 +958,9 @@ N can be 1 for to mean \"completion-try-completion\" or 2 to mean
(_ n))
style string table pred point)))
(completion--styles md))))
(if requote
(funcall requote result n)
result)))
(when requote
(setcar result (funcall requote (car result) n)))
result))
(defun completion-try-completion (string table pred point &optional metadata)
"Try to complete STRING using completion table TABLE.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment