Skip to content

Commit

Permalink
Revert "Fix xrefs for remote connections over TRAMP (#432)"
Browse files Browse the repository at this point in the history
This reverts commit 3c2ab8d.
  • Loading branch information
jacktasia authored Jun 25, 2024
1 parent 3c2ab8d commit 8365e0e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions dumb-jump.el
Original file line number Diff line number Diff line change
Expand Up @@ -2229,15 +2229,7 @@ of project configuration."
cur-line-num parse-fn generate-fn)
search-paths))

(tramp-path-prefix (or (file-remote-p default-directory) ""))

(results (delete-dups
(--map
(progn
(plist-put it :target look-for)
(plist-put it :path
(concat tramp-path-prefix (plist-get it :path))))
raw-results))))
(results (delete-dups (--map (plist-put it :target look-for) raw-results))))

`(:results ,results :lang ,(if (null lang) "" lang) :symbol ,look-for :ctx-type ,(if (null ctx-type) "" ctx-type) :file ,cur-file :root ,proj-root)))

Expand Down

0 comments on commit 8365e0e

Please sign in to comment.