:dev profile by default in nrepl.el

2013-02-20

To activate :dev profile when doing M-x nrepl-jack-in, I added this hook to my Emacs config:

(add-hook 'nrepl-mode-hook
      '(lambda ()
         (set-variable 'nrepl-server-command
                       "lein with-profile dev repl")))