aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.dev>2026-03-04 16:05:47 +0200
committerBozhidar Batsov <bozhidar@batsov.dev>2026-03-04 21:43:10 +0200
commitc0ae91cec393354491512abe48ec70e59e00436c (patch)
treedad6e52430b9c3a48d8623243f562ad574bb0056
parent62494d672db8637070ae14f2e6fc0065faff4e0f (diff)
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.
-rw-r--r--projectile.el2
1 files changed, 1 insertions, 1 deletions
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 ()