]> git.eshelyaron.com Git - emacs.git/commitdiff
(completion-setup-function): Handle ffap-read-file-or-url-internal
authorRichard M. Stallman <rms@gnu.org>
Mon, 2 Dec 2002 16:18:33 +0000 (16:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 2 Dec 2002 16:18:33 +0000 (16:18 +0000)
specially like read-file-name-internal.

lisp/simple.el

index 0b3c14d72aca9483404d23da651cd08a6d3cea11..62578bdfa6ec3868156500694cad69afd037c1aa 100644 (file)
@@ -3922,7 +3922,8 @@ 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 (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.