From c0ae91cec393354491512abe48ec70e59e00436c Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 4 Mar 2026 16:05:47 +0200 Subject: Fall back to xref-find-definitions instead of removed find-tag find-tag was removed in Emacs 29. When the configured tags backend (ggtags or etags-select) is unavailable, fall back to xref-find-definitions instead, which is available since Emacs 25.1. --- projectile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projectile.el b/projectile.el index 0930138..a0d7e87 100644 --- a/projectile.el +++ b/projectile.el @@ -4693,7 +4693,7 @@ project root." ((eq projectile-tags-backend 'etags-select) (when (fboundp 'etags-select-find-tag) 'etags-select-find-tag))) - 'find-tag)) + 'xref-find-definitions)) ;;;###autoload (defun projectile-find-tag () -- cgit v1.0