Commit 2d64b6f6 authored by Stefan Monnier's avatar Stefan Monnier

(completion-setup-function): Fix last change to use

minibuffer-completing-file-name instead.
parent 45adde32
......@@ -3922,8 +3922,7 @@ The completion list buffer is available as the value of `standard-output'.")
(completion-list-mode)
(make-local-variable 'completion-reference-buffer)
(setq completion-reference-buffer mainbuf)
(if (memq minibuffer-completion-table
'(ffap-read-file-or-url-internal read-file-name-internal))
(if minibuffer-completing-file-name
;; For file name completion,
;; use the number of chars before the start of the
;; last file name component.
......
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