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) -- Nick