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

(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'.") ...@@ -3922,7 +3922,8 @@ The completion list buffer is available as the value of `standard-output'.")
(completion-list-mode) (completion-list-mode)
(make-local-variable 'completion-reference-buffer) (make-local-variable 'completion-reference-buffer)
(setq completion-reference-buffer mainbuf) (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, ;; For file name completion,
;; use the number of chars before the start of the ;; use the number of chars before the start of the
;; last file name component. ;; 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