mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Have project-switch-to-buffer use a distinct completion category
* etc/NEWS: Mention the change. * lisp/minibuffer.el (completion-category-defaults): Add an entry for it. * lisp/progmodes/project.el (project--buffers-completion-table): Return category 'project-buffer'.
This commit is contained in:
parent
0e37977546
commit
bb0ede711e
3 changed files with 6 additions and 1 deletions
|
|
@ -1215,6 +1215,7 @@ styles for specific categories, such as files, buffers, etc."
|
|||
;; A new style that combines substring and pcm might be better,
|
||||
;; e.g. one that does not anchor to bos.
|
||||
(project-file (styles . (substring)))
|
||||
(project-buffer (styles . (basic substring)))
|
||||
(xref-location (styles . (substring)))
|
||||
(info-menu (styles . (basic substring)))
|
||||
(symbol-help (styles . (basic shorthand substring))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue