diff options
| author | Stefan Monnier | 2019-11-21 17:39:38 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2019-11-21 17:39:38 -0500 |
| commit | 81ab458aae931e01a940424eeea55777004f9c55 (patch) | |
| tree | a953b3cc6ae3d7e6f0ebcd8ece1b26a6776031eb | |
| parent | 86d8d9589370e8786c2cb245dad8527494009ac2 (diff) | |
| download | emacs-81ab458aae931e01a940424eeea55777004f9c55.tar.gz emacs-81ab458aae931e01a940424eeea55777004f9c55.zip | |
* lisp/files.el (locate-file-completion-table): Fix typo
| -rw-r--r-- | lisp/files.el | 2 |
1 files changed, 1 insertions, 1 deletions
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." | |||
| 958 | ;; M-x load-library RET t/x.e TAB finds some files. Also remove elements | 958 | ;; M-x load-library RET t/x.e TAB finds some files. Also remove elements |
| 959 | ;; from `names' that matched `string' only when they still had | 959 | ;; from `names' that matched `string' only when they still had |
| 960 | ;; their suffix. | 960 | ;; their suffix. |
| 961 | (setq names (all-completions string names)) | 961 | (setq names (all-completions string-file names)) |
| 962 | ;; Remove duplicates of the first element, so that we can easily check | 962 | ;; Remove duplicates of the first element, so that we can easily check |
| 963 | ;; if `names' really contains only a single element. | 963 | ;; if `names' really contains only a single element. |
| 964 | (when (cdr names) (setcdr names (delete (car names) (cdr names)))) | 964 | (when (cdr names) (setcdr names (delete (car names) (cdr names)))) |