branch: elpa/projectile commit fc497d045423b393564b5b35fee2f9743c3ad115 Author: Bozhidar Batsov <bozhi...@batsov.dev> Commit: Bozhidar Batsov <bozhi...@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))))