ob-core: Fix Invalid search bound (wrong side of point)
commit0f3cb188a9c76dc3207a08ab498e6d5814eeadc6
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 25 Feb 2016 13:53:00 +0000 (25 14:53 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 25 Feb 2016 13:53:00 +0000 (25 14:53 +0100)
treeb99c570bc5b580bb577056495bb9125eacdde65e
parent5660047846bfcfb674abcb32b06d2826d4113518
ob-core: Fix Invalid search bound (wrong side of point)

* lisp/ob-core.el (org-babel-where-is-src-block-result): Return nil when
  anonymous results would be located outside of the container of the
  source block.

* testing/lisp/test-ob.el (test-ob/where-is-src-block-result): Add test.

Reported-by: Dominik Schrempf <dominik.schrempf@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/105309>
lisp/ob-core.el
testing/lisp/test-ob.el