[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/marginalia d1b836d 225/241: Go back to obsolete functio
From: |
Stefan Monnier |
Subject: |
[elpa] externals/marginalia d1b836d 225/241: Go back to obsolete function project-roots |
Date: |
Fri, 28 May 2021 20:49:31 -0400 (EDT) |
branch: externals/marginalia
commit d1b836db16cb693293a2cb7064e5cf9df625df2a
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>
Go back to obsolete function project-roots
This is so people who don't update project.el for some reason can still use
the project-file annotators.
---
marginalia.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/marginalia.el b/marginalia.el
index 8456e7d..ad05609 100644
--- a/marginalia.el
+++ b/marginalia.el
@@ -258,7 +258,7 @@ determine it."
(declare-function package-desc-version "package")
(declare-function package-version-join "package")
(declare-function project-current "project")
-(declare-function project-root "project")
+(declare-function project-roots "project")
(declare-function color-rgb-to-hex "color")
(declare-function color-rgb-to-hsl "color")
@@ -690,7 +690,7 @@ These annotations are skipped for remote paths."
;; which case it prompts for a project first; we don't support that
;; case yet, since there is no current project.
(when-let ((project (project-current))
- (root (project-root project))
+ (root (car (project-roots project)))
(file (expand-file-name cand root)))
(marginalia-annotate-file file)))
- [elpa] externals/marginalia d489f4c 171/241: fix #55, use string-width instead of length for alignment, (continued)
- [elpa] externals/marginalia d489f4c 171/241: fix #55, use string-width instead of length for alignment, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 7a0c2c6 173/241: marginalia-cycle: remove minibuffer local behavior, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 86c0461 180/241: consult-multi annotator should delegate to original annotation function, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 2f977a1 181/241: readme: add illustration, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia e741b24 194/241: Version 0.4, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 06ae3b4 204/241: Some minor improvements on the fix, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia a8e73d9 198/241: Fix overly wide docstring warning, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 5126ba6 223/241: Version 0.5, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 9389f38 217/241: completion-all-completions: Last cdr can also be nil, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 287a369 221/241: Use more strict definition of the affixation function., Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia d1b836d 225/241: Go back to obsolete function project-roots,
Stefan Monnier <=
- [elpa] externals/marginalia 0c24618 233/241: marginalia-bookmark-type-transformers: Use more precise type, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 43c85dc 229/241: README: More documentation, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia d400032 228/241: README: Document lightweight annotator usage, Stefan Monnier, 2021/05/28
- [elpa] externals/marginalia 529aee6 241/241: Require subr-x only at compile time, Stefan Monnier, 2021/05/28