Commit 81ab458a authored by Stefan Monnier's avatar Stefan Monnier

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

parent 86d8d958
Pipeline #4128 failed with stage
in 75 minutes and 18 seconds
......@@ -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))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment