From 2d64b6f696fc229566219da2b16295e7a5f7a30e Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 2 Dec 2002 22:24:34 +0000 Subject: [PATCH] (completion-setup-function): Fix last change to use minibuffer-completing-file-name instead. --- lisp/simple.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index 62578bdfa6e..67f0edb2628 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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. -- 2.39.2