Fixing a very small bug in which a source block ends with `#+end_src python` instead of `#+end_src`, prohibiting it from being recognized as a source block.
The branch: https://gitlab.com/yuvallanger/worg-mirror-unofficial/tree/fix-end-src-python The commit: https://gitlab.com/yuvallanger/worg-mirror-unofficial/commit/8f6214fe35199186f256c17cccecbd5a9a8063c7 Attached is the `git format-patch master` patch file while HEAD is pointing at fix-end-src-python. Many thanks, Yuval Langer.
From 8f6214fe35199186f256c17cccecbd5a9a8063c7 Mon Sep 17 00:00:00 2001 From: Yuval Langer <yuval.lan...@gmail.com> Date: Thu, 24 Nov 2016 00:47:18 +0200 Subject: [PATCH] Fix bad end_src --- org-contrib/babel/languages/ob-doc-python.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-contrib/babel/languages/ob-doc-python.org b/org-contrib/babel/languages/ob-doc-python.org index 8acfbff..3ca20e1 100644 --- a/org-contrib/babel/languages/ob-doc-python.org +++ b/org-contrib/babel/languages/ob-doc-python.org @@ -191,7 +191,7 @@ plt.savefig('images/myfig.pdf') #+begin_example #+begin_src python :results output print "Hello, world!" -#+end_src python +#+end_src #+RESULTS: : Hello, world! -- 2.9.3