diff options
Diffstat (limited to 'lisp/progmodes/xref.el')
-rw-r--r-- | lisp/progmodes/xref.el | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index a222533936c..360d1baf403 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -802,10 +802,9 @@ to search in, and the file name pattern to search for." (dirs (if current-prefix-arg (list (read-directory-name "Base directory: " nil default-directory t)) - (project-prune-directories - (append - (project-roots proj) - (project-search-path proj))))) + (append + (project-roots proj) + (project-library-roots proj)))) (xref-find-function (lambda (_kind regexp) (cl-mapcan |