Skip to content

Commit

Permalink
Fix xref-backend-definitions non-error case (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshLitt authored Dec 24, 2020
1 parent 7fde9af commit 98a50a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meghanada.el
Original file line number Diff line number Diff line change
Expand Up @@ -1895,8 +1895,8 @@ If there are unimported classes, we will automatically import them as much as po
(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"))))
(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))
Expand Down

0 comments on commit 98a50a3

Please sign in to comment.