emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ggtags 4993198df2 1/3: Fix #218: make `xref-find-defini


From: ELPA Syncer
Subject: [elpa] externals/ggtags 4993198df2 1/3: Fix #218: make `xref-find-definitions' work correctly in symlinks
Date: Wed, 20 Apr 2022 19:57:41 -0400 (EDT)

branch: externals/ggtags
commit 4993198df2c007b266208e85d41b931a2d6fe3cb
Author: SeungKi Kim <tttuuu888@gmail.com>
Commit: Leo Liu <sdl.web@gmail.com>

    Fix #218: make `xref-find-definitions' work correctly in symlinks
---
 ggtags.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ggtags.el b/ggtags.el
index 3e9e9bc2f2..9b33eecbec 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 = (expand-file-name (match-string 1))
+   for file = (expand-file-name (file-truename (match-string 1)))
    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]