diff --git a/custom.el b/custom.el index 0f98f8f..e116b9f 100644 --- a/custom.el +++ b/custom.el @@ -89,6 +89,8 @@ magit-insert-unpushed-to-upstream-or-recent magit-insert-unpulled-from-pushremote magit-insert-unpulled-from-upstream)) + '(meghanada-java-path + "/usr/lib/jvm/java-8-openjdk/jre/bin/java") '(menu-bar-mode nil) '(org-babel-load-languages '((emacs-lisp . t) diff --git a/elpa/meghanada-1.3.1/meghanada.el b/elpa/meghanada-1.3.1/meghanada.el index 0216c5d..8ee5d58 100755 --- a/elpa/meghanada-1.3.1/meghanada.el +++ b/elpa/meghanada-1.3.1/meghanada.el @@ -1892,11 +1892,12 @@ If there are unimported classes, we will automatically import them as much as po (meghanada--what-column) (format "\"%s\"" symbol)))) (when output - (let ((file (nth 0 output)) - (line (nth 1 output)) - (column (nth 2 output))) - (list (xref-make file (xref-make-file-location file line column)))))) - (message "client connection not established")))) + (let ((file (nth 0 output)) + (line (nth 1 output)) + (column (nth 2 output))) + (list (xref-make file (xref-make-file-location file line column)))))) + ) + (message "client connection not established"))) (cl-defmethod xref-backend-references ((_backend (eql meghanada)) symbol) (if (and meghanada--server-process (process-live-p meghanada--server-process))