Commit 15c06436 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(completion-setup-function): Handle ffap-read-file-or-url-internal

specially like read-file-name-internal.
parent 0179b846
......@@ -3922,7 +3922,8 @@ The completion list buffer is available as the value of `standard-output'.")
(make-local-variable 'completion-reference-buffer)
(setq completion-reference-buffer mainbuf)
(if (eq minibuffer-completion-table 'read-file-name-internal)
(if (memq minibuffer-completion-table
'(ffap-read-file-or-url-internal read-file-name-internal))
;; 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