emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [feature] prepend comment char before org-babel-ref


From: Nicolas Goaziou
Subject: Re: [O] [feature] prepend comment char before org-babel-ref
Date: Sat, 27 Jan 2018 11:56:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

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


Regards,

-- 
Nicolas Goaziou                                                0x80A93738



reply via email to

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