emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Deactivate babel source block


From: Michael Bach
Subject: Re: [O] Deactivate babel source block
Date: Sun, 06 Oct 2013 17:23:40 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 10/6/13 5:09 PM, Eric Schulte wrote:
> You want to set the :eval and :tangle header arguments, this can be done
> with `org-babel-insert-header-arg' bound to "C-c C-v j".  I've just
> updated this function so that it now takes two optional arguments
> specifying the header argument and value.
> 
> So your function could now be something like the following.
> 
>     (defun my-org-babel-deactivate ()
>       (interactive)
>       (org-babel-insert-header-arg "eval" "never")
>       (org-babel-insert-header-arg "tangle" "no"))
> 
> Hope this helps,
> 

Thanks for implementing this so quickly - I am currently on 8.2 release
branch, but am looking forward to it!

Michael






reply via email to

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