I found the same issue on Emacs 24.3.1 with Org 7.9.4 (installed via ELPA) and clojure-mode 2.0.0. When opening a Clojure snippet in Org mode for editing, Org tried to call an apparently undefined function `org-no-popup`. When this failed, it left the source code buffer in fundamental mode, where C-c ' is undefined.
Solution: install the latest Org mode via ELPA. If you see this error and your Org is up to date, force a recompile of the Org code. Go to the Org source directory as stored by ELPA (for me, this was ~/.emacs.d/elpa/org-20130318) and rm -f *.elc. Hope this helps! Thanks, Hans Engel On Saturday, March 23, 2013 2:27:37 PM UTC-7, Matching Socks 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.