From b0e6ecfc33077fb2dce904d315c8ef24e3649c9b Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sat, 29 Dec 2018 20:06:24 +0300 Subject: [PATCH] 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. --- lisp/minibuffer.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index f8e328f6152..bc7d26ac2e0 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -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 -- 2.39.5