mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-24 07:11:38 -07:00
xref-backend-references: Avoid finding duplicates
* lisp/progmodes/xref.el (xref-backend-references): Cull subdirectories of other elements (bug#66683).
This commit is contained in:
parent
eab9bdf79f
commit
391420d0c0
1 changed files with 4 additions and 3 deletions
|
|
@ -281,9 +281,10 @@ current project's main and external roots."
|
|||
(xref-references-in-directory identifier dir)
|
||||
(message "Searching %s... done" dir)))
|
||||
(let ((pr (project-current t)))
|
||||
(cons
|
||||
(xref--project-root pr)
|
||||
(project-external-roots pr)))))
|
||||
(project-combine-directories
|
||||
(cons
|
||||
(xref--project-root pr)
|
||||
(project-external-roots pr))))))
|
||||
|
||||
(cl-defgeneric xref-backend-apropos (backend pattern)
|
||||
"Find all symbols that match PATTERN string.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue