Hello, Joost Diepenmaat <jo...@zeekat.nl> writes:
> Attached is a 2 character patch that makes org-indent-region indent > #+BEGIN_SRC and #+END_SRC lines according to org document rules instead of > the indentation rules of the language /inside/ the source block. > > This is my first patch proposal for org-mode, so please let me know if I > need to modify things. In any case, feedback is welcome! [...] > From 659a071cc519ebdaabd586132f1d4d3159475c8d Mon Sep 17 00:00:00 2001 > From: Joost Diepenmaat <jo...@zeekat.nl> > Date: Fri, 25 Oct 2013 11:08:46 +0200 > Subject: [PATCH] Correctly indent BEGIN_SRC and END_SRC lines Here, you need to specifying what functions and variables are modified by your patch and how. Something like the following should do: * lisp/org.el (org-indent-region): BEGIN_SRC and END_SRC lines should not be considered part of the source block for the purposes of indentation. > TINYCHANGE Otherwise, the patch looks good. So I applied it with said modifications. Thank you. Regards, -- Nicolas Goaziou