branch: externals/javaimp commit 6c57fa2b7566e1483cedd7a5a5aecabd19c1d7c6 Author: Filipp Gunbin <fgun...@fastmail.fm> Commit: Filipp Gunbin <fgun...@fastmail.fm>
* javaimp-gradle.el (javaimp--gradle-visit): Fix return value --- javaimp-gradle.el | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/javaimp-gradle.el b/javaimp-gradle.el index 3e690e6..e5c3a50 100644 --- a/javaimp-gradle.el +++ b/javaimp-gradle.el @@ -44,13 +44,14 @@ information." ;; first module is always root (message "Building tree for root: %s" (javaimp-print-id (javaimp-module-id (car modules)))) - (javaimp--build-tree (car modules) modules - ;; more or less reliable way to find children - ;; is to look for modules with "this" as the - ;; parent - (lambda (el tested) - (equal (javaimp-module-parent-id tested) - (javaimp-module-id el)))))) + (list + (javaimp--build-tree (car modules) modules + ;; more or less reliable way to find children + ;; is to look for modules with "this" as the + ;; parent + (lambda (el tested) + (equal (javaimp-module-parent-id tested) + (javaimp-module-id el))))))) (defun javaimp--gradle-handler () "Parse current buffer into list of project descriptors, each of