branch: externals/gtags-mode
commit 7d7ade72b7f57082849fec9e10f7b7cafd768ddb
Author: Jimmy Aguilar Mena <kratsbinov...@gmail.com>
Commit: Jimmy Aguilar Mena <kratsbinov...@gmail.com>

    Fix project-switch-project
    
    This fixes #5
---
 gtags-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gtags-mode.el b/gtags-mode.el
index 529c8c9bf0..9904e44e5b 100644
--- a/gtags-mode.el
+++ b/gtags-mode.el
@@ -314,6 +314,7 @@ Return as a list of xref location objects."
 (cl-defmethod project-files ((project (head :gtagsroot)) &optional dirs)
   "List files inside all the PROJECT or in DIRS if specified."
   (let* ((root (project-root project))
+        (default-directory root)
         (results (mapcan
                   (lambda (dir)
                     (when (string-prefix-p root dir)

Reply via email to