emacs-orgmode
[Top][All Lists]
Advanced

[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: Nick Dokos
Subject: Re: [O] proposal to make C-c C-c not remove latex overlays
Date: Tue, 15 Jul 2014 18:52:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

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)

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]