Skip to content

Commit

Permalink
Work around latest, borken Cider.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Jacobsen committed Jan 20, 2015
1 parent cd99e00 commit 27ee45d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions org/init.org
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,23 @@ Shorten =clojure-mode= in mode line[fn:: From http://whattheemacsd.com/].
(clj-refactor-mode 1)
(cljr-add-keybindings-with-prefix "C-c C-t")))
#+END_SRC

** Fix currently broken Cider

For "namespace not found" issues:

#+BEGIN_SRC emacs-lisp
;; FIXME: make clojure-mode only
;; (add-hook 'clojure-mode-hook (lambda ()
(add-hook 'clojure-mode-hook
(lambda ()
(global-set-key "\C-o1" (lambda ()
(interactive)
(let ((bname (buffer-file-name)))
(cider-load-file bname)
(cider-macroexpand-all))))))
#+END_SRC

* Stuff for running shells within Emacs
** Path Magic
Smooth the waters for starting processes from the shell. "Set up
Expand Down

0 comments on commit 27ee45d

Please sign in to comment.