emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b0e6ecf: Skip 'basic' completion style for project-


From: Dmitry Gutov
Subject: [Emacs-diffs] master b0e6ecf: Skip 'basic' completion style for project-find-file
Date: Sat, 29 Dec 2018 12:07:03 -0500 (EST)

branch: master
commit b0e6ecfc33077fb2dce904d315c8ef24e3649c9b
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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 f8e328f..bc7d26a 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]