Nicolas Girard <girard.nicolas <at> gmail.com> writes:

> 
> The empty src block at the beginning of the following file prevents
> "capture-tmpl" to expand when tangling.
> 

I think the diagnosis is incorrect.

The empty source block has no effect.

Adding ':noweb yes' to `capture's header args fixes things.

org-version: 8.3-8-gce2359

Chuck


> 

[snip]

> #+name: capture
> #+begin_src emacs-lisp :tangle no

Add `:noweb yes' to the previous line

>   ("C" "Capture" entry "
>   <<capture-tmpl>>")
> #+end_src
> 
> #+begin_src emacs-lisp :noweb yes
>   (add-to-list 'org-capture-templates '
>   <<capture>> 'append)
> #+end_src
> ---8<-------
> 
[snip]



Reply via email to