1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-20 19:24:20 +00:00

ob-java.el: Fix spacing in generated main method

* lisp/ob-java.el: Correct Indentation of closing curly braces when
the default main method is used.
This commit is contained in:
John Herrlin 2020-10-22 06:52:22 -04:00 committed by Ian Martins
parent 6edfc2b57c
commit 045ab0096a

View File

@ -218,7 +218,7 @@ RESULT-FILE is the temp file to write the result."
(org-babel-java--move-past org-babel-java--class-re)
(insert "\n public static void main(String[] args) {
System.out.print(\"success\");
}\n\n"))
}\n\n"))
;; special handling to return value
(when (eq result-type 'value)