emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/javaimp 6c57fa2 1/2: * javaimp-gradle.el (javaimp--grad


From: Filipp Gunbin
Subject: [elpa] externals/javaimp 6c57fa2 1/2: * javaimp-gradle.el (javaimp--gradle-visit): Fix return value
Date: Fri, 8 Oct 2021 18:25:33 -0400 (EDT)

branch: externals/javaimp
commit 6c57fa2b7566e1483cedd7a5a5aecabd19c1d7c6
Author: Filipp Gunbin <fgunbin@fastmail.fm>
Commit: Filipp Gunbin <fgunbin@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]