Nicolas Goaziou <[email protected]> writes:

> Hello,
>
> "[email protected]" <[email protected]> writes:
>
>> Because it is not good for tangling.
>> For example, tangle the bellowing src block, the tangled source code file
>> will has `(ref:hello)` too.
>> ```
>>
>> #+begin_src emacs-lisp :tangle "data/code/src-coderef.el"
>> (message "hello, world") (ref:hello)
>> #+end_src
>
> You need to add "-r" switch so Org knows you want to remove coderefs:
>
>   #+begin_src emacs-lisp :tangle "data/code/src-coderef.el"
>   (message "hello, world") (ref:hello)
>   #+end_src

I meant

  #+begin_src emacs-lisp -r :tangle "data/code/src-coderef.el"
                        ^^^^

Reply via email to