Skip to content

Instantly share code, notes, and snippets.

@tavisrudd
Created January 27, 2012 18:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tavisrudd/1690076 to your computer and use it in GitHub Desktop.
Save tavisrudd/1690076 to your computer and use it in GitHub Desktop.
(require 'eldoc)
(defun clojure-slime-eldoc-message ()
(when (and (featurep 'slime) (slime-background-activities-enabled-p))
(slime-echo-arglist);async
nil ; show nothing now
))
(defun clojure-localize-documentation-function ()
(set (make-local-variable 'eldoc-documentation-function)
'clojure-slime-eldoc-message))
;; last func gets added to (clojure-mode) setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment