ob-core: Prevent false positive in `org-find-named-result'
commit7fcc1c710b0d31bd1b3b431b38d5ac946cf24a5c
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 28 Jan 2016 23:29:59 +0000 (29 00:29 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 10 Feb 2016 14:40:11 +0000 (10 15:40 +0100)
treef40421f6ec15950e71352b671c82558476a5af57
parent88659208793dca18b7672428175e9a712af7b5ad
ob-core: Prevent false positive in `org-find-named-result'

* lisp/ob-core.el (org-babel-find-named-result): Prevent false positive
  using parser.
(org-babel-current-result-hash):
(org-babel-set-current-result-hash):
(org-babel-where-is-src-block-result): Do not rely on some undocumented
match data.

* testing/lisp/test-ob.el (test-ob/find-name-result): New test.
lisp/ob-core.el
testing/lisp/test-ob.el