branch: elpa/projectile
commit c0ae91cec393354491512abe48ec70e59e00436c
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    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 0930138f29..a0d7e87ceb 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 ()

Reply via email to