diff options
| author | Eshel Yaron | 2025-09-08 17:30:52 +0200 |
|---|---|---|
| committer | Eshel Yaron | 2025-09-08 17:30:52 +0200 |
| commit | 6b6cfa8e40bbfe97ac1cd50a90d26325829f2aa7 (patch) | |
| tree | 3f4ad383011262d5818a9702d2a8611741046c6a | |
| parent | 15939846a00969ed815e3ca7bd31f1ef1dc7355f (diff) | |
| download | emacs-6b6cfa8e40bbfe97ac1cd50a90d26325829f2aa7.tar.gz emacs-6b6cfa8e40bbfe97ac1cd50a90d26325829f2aa7.zip | |
; * lisp/progmodes/project.el: Restore backward compatibility.
| -rw-r--r-- | lisp/progmodes/project.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 887e9a7bb28..c15148110a6 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el | |||
| @@ -1718,8 +1718,9 @@ Return non-nil if PROJECT is not a remote project." | |||
| 1718 | (t | 1718 | (t |
| 1719 | (complete-with-action action buffers string pred))))) | 1719 | (complete-with-action action buffers string pred))))) |
| 1720 | 1720 | ||
| 1721 | (define-completion-category 'project-buffer '(buffer) | 1721 | (when (fboundp 'define-completion-category) ; Introduced in Emacs 31. |
| 1722 | "Completion category for buffers in a given project.") | 1722 | (define-completion-category 'project-buffer '(buffer) |
| 1723 | "Completion category for buffers in a given project.")) | ||
| 1723 | 1724 | ||
| 1724 | (defun project--read-project-buffer () | 1725 | (defun project--read-project-buffer () |
| 1725 | (let* ((pr (project-current t)) | 1726 | (let* ((pr (project-current t)) |