|
From: | address@hidden |
Subject: | Re: [O] [feature] prepend comment char before org-babel-ref |
Date: | Sun, 28 Jan 2018 17:52:13 +0800 |
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> "address@hidden" <address@hidden> 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"
^^^^
[Prev in Thread] | Current Thread | [Next in Thread] |