ob-core: Small refactoring
commit823c821bc8ec11988440fdfa3ab48fdfa1955f26
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 1 May 2017 13:33:09 +0000 (1 15:33 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 1 May 2017 13:33:09 +0000 (1 15:33 +0200)
tree038a9a71d64ca279302268b485f0bb05c38e5ca5
parent3502e6fa7cb304d6b29aef032fe49ea4a79b58f0
ob-core: Small refactoring

* lisp/ob-core.el (org-babel-read): Small refactoring.
(org-babel--string-to-number): Use `string-match-p' instead of
`string-match'.
* lisp/org-compat.el (org-babel-number-p): Move obsolete alias.
lisp/ob-core.el
lisp/org-compat.el