Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add the class cache function to the end of nrepl-connected-hook

Whatever the cause of issue #24, it seems more correct to add this hook
function *after* `nrepl-enable-on-existing-clojure-buffers`.
  • Loading branch information...
commit 30459da0eba664ab8854ec788b211a6c2906afe7 1 parent e129356
@purcell purcell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ac-nrepl.el
View
2  ac-nrepl.el
@@ -140,7 +140,7 @@ Result is a plist, as returned from `nrepl-send-string-sync'."
(message ""))
;;;###autoload
-(add-hook 'nrepl-connected-hook 'ac-nrepl-refresh-class-cache)
+(add-hook 'nrepl-connected-hook 'ac-nrepl-refresh-class-cache t)
(defun ac-nrepl-candidates-all-classes ()
"Return java method candidates."
Please sign in to comment.
Something went wrong with that request. Please try again.