diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2015-12-08 03:05:12 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2015-12-08 03:05:12 +0200 |
commit | 87f5f31ee43bcf773da5ea765ecdf1a499fd8920 (patch) | |
tree | 88b5f352adb61d2a2ea246cb01c06526358e2c78 /lisp/progmodes/xref.el | |
parent | 9b0ffdbaddec7d9d46dcd7fc525c4fde7c842c46 (diff) | |
download | emacs-scratch/project-directories.tar.gz |
Turn project-roots into project-directories; add categoriesscratch/project-directories
Diffstat (limited to 'lisp/progmodes/xref.el')
-rw-r--r-- | lisp/progmodes/xref.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 397f379d434..b86074f99c0 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -243,10 +243,7 @@ find a search tool; by default, this uses \"find | grep\" in the (cl-mapcan (lambda (dir) (xref-collect-references identifier dir)) - (let ((pr (project-current t))) - (append - (project-roots pr) - (project-library-roots pr))))) + (project-directories-in-categories (project-current t)))) (cl-defgeneric xref-backend-apropos (backend pattern) "Find all symbols that match PATTERN. |