changeset 48620:37b9b1f18615

(completion-setup-function): Handle ffap-read-file-or-url-internal specially like read-file-name-internal.
author Richard M. Stallman <rms@gnu.org>
date Mon, 02 Dec 2002 16:18:33 +0000
parents cdcae1240434
children 2cf7301b2f52
files lisp/simple.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/simple.el	Mon Dec 02 16:17:29 2002 +0000
+++ b/lisp/simple.el	Mon Dec 02 16:18:33 2002 +0000
@@ -3922,7 +3922,8 @@
       (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.