ob-core: Fix indented cached result returning nil
commitb6934e3471b93e4da10ae381745091017046995a
authorBjarte Johansen <bjarte.johansen@gmail.com>
Sun, 24 May 2015 11:42:20 +0000 (24 13:42 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 26 May 2015 08:19:42 +0000 (26 10:19 +0200)
treea0fdc0ffe82fc9c1fdf79f3a9e8e7668872b0f20
parent0fa37f5ff0810a1a3935dfbdd002a2a5f1188548
ob-core: Fix indented cached result returning nil

Fix a problem where a source block would return nil oif the result was
cached and it was indented.

* lisp/ob-core.el (org-babel-execute-src-block): Move point to the the
 first character of the result instead of the beginning of the line.

* testing/lisp/test-ob.el
 (test-org-babel/indented-cached-org-bracket-link): Added test to
 to see if the indented cached result returns what it should return.
lisp/ob-core.el
testing/lisp/test-ob.el