Skip 'basic' completion style for project-find-file

* lisp/minibuffer.el (completion-category-defaults): Skip 'basic'
for 'project-file', in order not to prefer files at the top of the
directory tree.
This commit is contained in:
Dmitry Gutov 2018-12-29 20:06:24 +03:00
parent b71d4ce056
commit b0e6ecfc33

View file

@ -835,7 +835,7 @@ styles for specific categories, such as files, buffers, etc."
(defvar completion-category-defaults
'((buffer (styles . (basic substring)))
(unicode-name (styles . (basic substring)))
(project-file (styles . (basic substring)))
(project-file (styles . (substring)))
(info-menu (styles . (basic substring))))
"Default settings for specific completion categories.
Each entry has the shape (CATEGORY . ALIST) where ALIST is