]> git.eshelyaron.com Git - emacs.git/commitdiff
Skip 'basic' completion style for project-find-file
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 29 Dec 2018 17:06:24 +0000 (20:06 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 29 Dec 2018 17:06:42 +0000 (20:06 +0300)
* 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

index f8e328f61528eef9c29e7f0536a2db8b994236f0..bc7d26ac2e08592a96bb4880ee75c605768024af 100644 (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