[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gtags-mode ea16b9d8c7 23/61: global-xref-project-backen
From: |
ELPA Syncer |
Subject: |
[elpa] externals/gtags-mode ea16b9d8c7 23/61: global-xref-project-backend shouldn't call global-xref--find-root. |
Date: |
Thu, 28 Apr 2022 10:57:39 -0400 (EDT) |
branch: externals/gtags-mode
commit ea16b9d8c748fc7a4403a222dd36e8f2c209edd9
Author: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
Commit: Jimmy Aguilar Mena <kratsbinovish@gmail.com>
global-xref-project-backend shouldn't call global-xref--find-root.
Only buffers with the mode enables may use these functions.
---
global-xref.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/global-xref.el b/global-xref.el
index 3939dd3709..fcd16232c6 100644
--- a/global-xref.el
+++ b/global-xref.el
@@ -284,9 +284,7 @@ any additional command line arguments to pass to GNU
Global."
;; project integration ===============================================
(defun global-xref-project-backend (dir)
"Return the project for DIR as an array."
- (when-let ((default-directory dir)
- (root (or (global-xref--has-open-root dir)
- (global-xref--find-root))))
+ (when-let ((root (global-xref--has-open-root dir)))
(list 'global-xref root)))
(cl-defmethod project-root ((project (head global-xref)))
- [elpa] externals/gtags-mode 317ed00754 61/61: Assert we retun nil on error, (continued)
- [elpa] externals/gtags-mode 317ed00754 61/61: Assert we retun nil on error, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 7dc81cbae2 56/61: Small simplifies, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 5445a63b79 21/61: Small fixes., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 33938b17e7 41/61: New function, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode d1195ca318 40/61: Use memoization function, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 65c2da145a 11/61: Reorder code a but and simplify., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 9b67043bcf 44/61: Use a workaround to pint proper information, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 2e5ecb8042 39/61: Add check on mode enable., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 19f827a1d7 15/61: Use delq instead of remove., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 688f1e8886 16/61: Break long lines., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode ea16b9d8c7 23/61: global-xref-project-backend shouldn't call global-xref--find-root.,
ELPA Syncer <=
- [elpa] externals/gtags-mode c2e13cc742 33/61: Use a better name gtags-mode is free., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode cd79d73561 26/61: Fix following Michael Albinus recommendations., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 75aef71741 19/61: Fix messages., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 13a0afbefd 31/61: Renamed to gtags-xref-mode., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 3f43b6056d 47/61: ;; Fix typo, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode ce6a4a6201 60/61: Merge pull request #1 from jangid/master, ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode f312adbbab 43/61: Use match-string-no-properties is better., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode a3b99b9aa6 25/61: Enable the mode in all the already opened buffers sharing root., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 777c51d630 53/61: Convert the mode in a global mode., ELPA Syncer, 2022/04/28
- [elpa] externals/gtags-mode 1aaac5fead 10/61: Simplify code to so only the needed., ELPA Syncer, 2022/04/28