]> git.eshelyaron.com Git - emacs.git/commit
buffer-match-p: Resolve backward compat concerns
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 17 Jun 2022 12:22:29 +0000 (15:22 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 17 Jun 2022 12:23:01 +0000 (15:23 +0300)
commit4aca0d818f2d0b7dd7dc511907cc19f63758e482
treeef98174ad098d3a537568f72331da8f1a7dcc2d7
parent5e567af8e0608ccd6db37d548ccb36098eda95c4
buffer-match-p: Resolve backward compat concerns

* doc/lispref/buffers.texi (Buffer List): Document 'major-mode'
and 'derived-mode' predicates.  Fix some typos.

* lisp/subr.el (buffer-match-p): Use the structure initially
pioneered by project-kill-buffer-conditions as-is (bug#54296).

* lisp/progmodes/project.el (project-kill-buffer-conditions)
(project--buffer-check): Revert the latest change.
(project--buffer-check): Add support for lambda predicates.
doc/lispref/buffers.texi
lisp/progmodes/project.el
lisp/subr.el