Skip to content

Commit

Permalink
Minor changes to Clojure to call cider-doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
howardabrams committed Apr 25, 2015
1 parent 0476bd6 commit 37c3d63
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions emacs-clojure.org
Expand Up @@ -214,7 +214,7 @@

The CIDER-specific configuration for auto completion:

#+BEGIN_SRC elisp :toggle no
#+BEGIN_SRC elisp
(require 'ac-cider)
(add-hook 'cider-mode-hook 'ac-flyspell-workaround)
(add-hook 'cider-mode-hook 'ac-cider-setup)
Expand Down Expand Up @@ -276,12 +276,20 @@
(require 'cider)
#+END_SRC

* asdf
* New Key Bindings

#+BEGIN_SRC elisp
(require 'cider-eval-sexp-fu)
#+END_SRC

Pulling up the documentation for a Clojure function is
indispensible.

#+BEGIN_SRC elisp
(eval-after-load "cider"
'(define-key cider-mode-map (kbd "C-c C-d") 'cider-doc))
#+END_SRC

* 4Clojure

Finally, if you are just learning Clojure, check out [[http://www.4clojure.com/][4Clojure]] and then
Expand Down

0 comments on commit 37c3d63

Please sign in to comment.