[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/projectile fc497d0454 1/3: Appease the byte-compiler
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/projectile fc497d0454 1/3: Appease the byte-compiler |
Date: |
Fri, 28 Oct 2022 02:59:23 -0400 (EDT) |
branch: elpa/projectile
commit fc497d045423b393564b5b35fee2f9743c3ad115
Author: Bozhidar Batsov <bozhidar@batsov.dev>
Commit: Bozhidar Batsov <bozhidar@batsov.dev>
Appease the byte-compiler
---
projectile.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/projectile.el b/projectile.el
index f746c0ba23..2b29bb26c9 100644
--- a/projectile.el
+++ b/projectile.el
@@ -4221,7 +4221,8 @@ installed to work."
A thin wrapper around `xref-references-in-directory'."
(interactive)
- (when (fboundp 'xref-references-in-directory)
+ (when (and (fboundp 'xref-references-in-directory)
+ (fboundp 'xref--show-refs))
(let ((project-root (projectile-acquire-root))
(symbol (or symbol (read-from-minibuffer "Lookup in project: "
(projectile-symbol-at-point)))))
(xref--show-xrefs (xref-references-in-directory symbol project-root)
nil))))