[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ggtags 22d3a3a951 3/3: Fix #218: apply cheaper solution
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ggtags 22d3a3a951 3/3: Fix #218: apply cheaper solution using `expand-file-name' |
Date: |
Wed, 20 Apr 2022 19:57:41 -0400 (EDT) |
branch: externals/ggtags
commit 22d3a3a951cb605d29138f1acee191ef674a4518
Author: SeungKi Kim <tttuuu888@gmail.com>
Commit: Leo Liu <sdl.web@gmail.com>
Fix #218: apply cheaper solution using `expand-file-name'
suggested by @leoliu
---
ggtags.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ggtags.el b/ggtags.el
index c8458ea017..caba1a3c32 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -2417,7 +2417,7 @@ properties in the summary text of each xref."
with re = (cadr (assq 'grep ggtags-global-error-regexp-alist-alist))
while (re-search-forward re nil t)
for summary = (buffer-substring (1+ (match-end 2)) (line-end-position))
- for file = (file-truename (match-string 1))
+ for file = (expand-file-name (match-string 1) root)
for line = (string-to-number (match-string 2))
for column = (string-match-p tag summary)
if colored do (setq summary (ansi-color-apply summary)) end