emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [patch] Small bug fix to the python babel documentation
@ 2016-11-23 22:55 Yuval Langer
  2016-11-25 17:58 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Yuval Langer @ 2016-11-23 22:55 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

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.

[-- Attachment #2: 0001-Fix-bad-end_src.patch --]
[-- Type: text/x-patch, Size: 733 bytes --]

From 8f6214fe35199186f256c17cccecbd5a9a8063c7 Mon Sep 17 00:00:00 2001
From: Yuval Langer <yuval.langer@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch] Small bug fix to the python babel documentation
  2016-11-23 22:55 [patch] Small bug fix to the python babel documentation Yuval Langer
@ 2016-11-25 17:58 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2016-11-25 17:58 UTC (permalink / raw)
  To: Yuval Langer; +Cc: emacs-orgmode

Hello,

Yuval Langer <yuval.langer@gmail.com> writes:

> 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.

[...]

> Attached is the `git format-patch master` patch file while HEAD is
> pointing at fix-end-src-python.

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-25 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23 22:55 [patch] Small bug fix to the python babel documentation Yuval Langer
2016-11-25 17:58 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).