|
From: | Charles C. Berry |
Subject: | Re: [O] Preserve tabs in tangled babel output |
Date: | Wed, 11 Mar 2015 07:56:13 -0700 |
User-agent: | Alpine 2.00 (OSX 1167 2008-08-23) |
On Wed, 11 Mar 2015, Roger Mason wrote:
Hello, This code: #+BEGIN_SRC makefile :tangle Makefile hello: hello.f90 gfortran hello.f90 execute: hello ./a.out clean: rm -f a.out *.o #+END_SRC (stolen from John Kitchin) produces a Makefile with spaces instead of tabs. I created the content in makefile mode, with tabs, but emacs untabifies the output. How can I prevent this?
Use the `-i' results switch: #+BEGIN_SRC makefile -i :tangle Makefile or set `org-src-preserve-indentation' non-nil. HTH, Chuck
[Prev in Thread] | Current Thread | [Next in Thread] |