DOH! thanks, that is exactly what I forgot to do. This works fine after you activate it! Thanks.
Nick Dokos <ndo...@gmail.com> writes: > John Kitchin <jkitc...@andrew.cmu.edu> writes: > >> Aaron Ecay <aarone...@gmail.com> writes: >> >> Thanks for the advice idea, that is a nice one. It doesn't work for me >> like this though: >> >> #+BEGIN_SRC emacs-lisp >> (defadvice org-ctrl-c-ctrl-c (around latex-overlays) >> "ignore latex overlays in C-cC-c" >> (let ((org-latex-fragment-image-overlays nil)) >> ad-do-it)) >> #+END_SRC >> >> maybe because that is a buffer local variable? >> > > You probably forgot to activate it: > > (ad-activate 'org-ctrl-c-ctrl-c) -- ----------------------------------- John Kitchin Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu