(cl-mapcan
(lambda (dir)
(xref-collect-references symbol dir))
- (project-search-path (project-current))))
+ (let ((pr (project-current)))
+ (append
+ (project-roots pr)
+ (project-library-roots pr)))))
(defun etags--xref-find-definitions (pattern &optional regexp?)
;; This emulates the behaviour of `find-tag-in-order' but instead of
(with-slots (tag-info) l
(nth 1 tag-info)))
-(defun etags-search-path ()
+(defun etags-library-roots ()
(mapcar #'file-name-directory tags-table-list))
\f