aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.dev>2022-10-28 09:28:11 +0300
committerBozhidar Batsov <bozhidar@batsov.dev>2022-10-28 09:28:11 +0300
commitfc497d045423b393564b5b35fee2f9743c3ad115 (patch)
tree4bce217a13ed975dbc64179c54de31d10a8ffc87 /projectile.el
parent0515f1b647be953183336074cffd02497c7f86b9 (diff)
Appease the byte-compiler
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/projectile.el b/projectile.el
index f746c0b..2b29bb2 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))))