branch: externals/gtags-mode commit 6e0aa53a11d79526504fdd2ea6527a08cb8adf5b Author: Jimmy Aguilar Mena <kratsbinov...@gmail.com> Commit: Jimmy Aguilar Mena <kratsbinov...@gmail.com>
Use expand-file-name instead of concat This seems more correct and avoids double // in filenames --- gtags-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtags-mode.el b/gtags-mode.el index e98271fe61..efd0b118d0 100644 --- a/gtags-mode.el +++ b/gtags-mode.el @@ -321,7 +321,7 @@ Return as a list of xref location objects." (lambda (dir) (when (string-prefix-p root dir) (mapcar (lambda (file) - (concat root (substring-no-properties file 1))) + (expand-file-name file root)) (gtags-mode--exec-sync '("--path-style=through" "--path") (string-remove-prefix root dir)))))