1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-09 08:21:30 -07:00

; * lisp/progmodes/project.el: Restore backward compatibility.

This commit is contained in:
Eshel Yaron 2025-09-08 17:30:52 +02:00
parent 15939846a0
commit 6b6cfa8e40
No known key found for this signature in database
GPG key ID: EF3EE9CA35D78618

View file

@ -1718,8 +1718,9 @@ Return non-nil if PROJECT is not a remote project."
(t
(complete-with-action action buffers string pred)))))
(define-completion-category 'project-buffer '(buffer)
"Completion category for buffers in a given project.")
(when (fboundp 'define-completion-category) ; Introduced in Emacs 31.
(define-completion-category 'project-buffer '(buffer)
"Completion category for buffers in a given project."))
(defun project--read-project-buffer ()
(let* ((pr (project-current t))