From 81ab458aae931e01a940424eeea55777004f9c55 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 21 Nov 2019 17:39:38 -0500 Subject: [PATCH] * 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 bb77dcb3c7e..2c45a8b1078 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)))) -- 2.39.5