emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/projectile 01fb6a5ef0 2/2: Touch up the previous commit


From: ELPA Syncer
Subject: [nongnu] elpa/projectile 01fb6a5ef0 2/2: Touch up the previous commit
Date: Wed, 14 Aug 2024 16:00:44 -0400 (EDT)

branch: elpa/projectile
commit 01fb6a5ef023bcfc52b209586dcb4fd13db00218
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>

    Touch up the previous commit
---
 CHANGELOG.md  | 1 +
 projectile.el | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7ae0f800f9..de67a8ab5e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,7 @@
 * [#1876](https://github.com/bbatsov/projectile/pull/1876): Add support for 
Jujutsu VCS.
 * [#1877](https://github.com/bbatsov/projectile/pull/1877): Add custom 
variable `projectile-cmd-hist-ignoredups`.
 * Add support for Eask projects.
+* [#1892](https://github.com/bbatsov/projectile/pull/1892): Add category 
metadata to `completing-read`. (it's used by packages like `marginalia` and 
`embark`)
 
 ### Bugs fixed
 
diff --git a/projectile.el b/projectile.el
index 02f4b6c27c..f581fc6c55 100644
--- a/projectile.el
+++ b/projectile.el
@@ -2074,6 +2074,10 @@ project-root for every file."
                    projectile-completion-system)
             ('default (completing-read prompt (lambda (string pred action)
                                                 (cond
+                                                 ;; this metadata is used by
+                                                 ;; packages like marginalia 
and
+                                                 ;; embark to enhance how they
+                                                 ;; present candidates
                                                  ((eq action 'metadata)
                                                   '(metadata . ((category . 
file))))
                                                  (t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]