]> git.eshelyaron.com Git - emacs.git/commit
New command 'project-list-buffers' bound to 'C-x p C-b' (bug#59153)
authorJuri Linkov <juri@linkov.net>
Tue, 15 Nov 2022 18:54:39 +0000 (20:54 +0200)
committerJuri Linkov <juri@linkov.net>
Tue, 15 Nov 2022 18:54:39 +0000 (20:54 +0200)
commit125b5684c3fb85ed77eeaeca3237393507e4df55
treebf192714fc13b03c59af8212dd141af9de893f43
parent69d1278527f0a883d55b91088c8e1b04d9e07e81
New command 'project-list-buffers' bound to 'C-x p C-b' (bug#59153)

* doc/emacs/maintaining.texi (Project Buffer Commands):
Add 'project-list-buffers'.

* lisp/buff-menu.el (Buffer-menu-filter-predicate): New defvar-local.
(list-buffers-noselect): Add new optional arg 'filter-predicate'.
Set 'Buffer-menu-filter-predicate' to 'filter-predicate'.
(list-buffers--refresh): Use 'Buffer-menu-filter-predicate'.

* lisp/progmodes/project.el (project-prefix-map): Bind "\C-b" to
'project-list-buffers'.
(project-list-buffers): New command.
doc/emacs/maintaining.texi
etc/NEWS
lisp/buff-menu.el
lisp/progmodes/project.el