Just a shot in the dark; try:

     #+BEGIN_SRC clojure
       (defun org-xor (a b)
          "Exclusive or."
          (if a (not b) b))
     #+END_SRC

On Sat, Mar 23, 2013 at 10:27 PM, Matching Socks <phill.w...@gmail.com> wrote:
> I've got clojure-mode and nrepl installed, but I skipped Slime.  From the
> org-mode sample page, http://orgmode.org/manual/Literal-examples.html, I
> copied
>
>      #+BEGIN_SRC emacs-lisp
>        (defun org-xor (a b)
>           "Exclusive or."
>           (if a (not b) b))
>      #+END_SRC
>
> where you type C-c ' (is that org-edit-src-code?) to open a temporary,
> emacs-lisp buffer for civilized editing of the code snippet, and when you're
> done you type the same keys again to store the edited code back into the
> org-mode buffer.  It works great.
>
> If I change "emacs-lisp" to "clojure", it opens a pleasant Clojure-mode
> buffer, but the second key sequence does not pop the edited code back into
> the org buffer.  Instead, it elicits the message "C-c ' is undefined".
>
> This is Emacs 24.2.1, which includes org 7.8.11, to which I added
> clojure-mode 2.0.0.
>
> ?
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to