[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 81ab458: * lisp/files.el (locate-file-completion-table): Fix typo

From: Stefan Monnier
Subject: master 81ab458: * lisp/files.el (locate-file-completion-table): Fix typo
Date: Thu, 21 Nov 2019 17:39:45 -0500 (EST)

branch: master
commit 81ab458aae931e01a940424eeea55777004f9c55
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>

    * lisp/files.el (locate-file-completion-table): Fix typo
 lisp/files.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/files.el b/lisp/files.el
index bb77dcb..2c45a8b 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -958,7 +958,7 @@ one or more of those symbols."
       ;; M-x load-library RET t/x.e TAB finds some files.  Also remove elements
       ;; from `names' that matched `string' only when they still had
       ;; their suffix.
-      (setq names (all-completions string names))
+      (setq names (all-completions string-file names))
       ;; Remove duplicates of the first element, so that we can easily check
       ;; if `names' really contains only a single element.
       (when (cdr names) (setcdr names (delete (car names) (cdr names))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]