[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] proposal to make C-c C-c not remove latex overlays
From: |
John Kitchin |
Subject: |
Re: [O] proposal to make C-c C-c not remove latex overlays |
Date: |
Wed, 16 Jul 2014 09:26:33 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (windows-nt) |
DOH! thanks, that is exactly what I forgot to do. This works fine after
you activate it! Thanks.
Nick Dokos <address@hidden> writes:
> John Kitchin <address@hidden> writes:
>
>> Aaron Ecay <address@hidden> 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