ob-tangle: Respect buffer local variables
commit7b148e2d0ea579f851a79c081b7ca520d7dba75d
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 9 Dec 2016 23:20:11 +0000 (10 00:20 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 9 Dec 2016 23:20:38 +0000 (10 00:20 +0100)
tree5cd36d35b599b7603f313b7cd7303660524e0aae
parent04799d8e39732396ee24af71275ba3d7db308a9f
ob-tangle: Respect buffer local variables

* lisp/ob-tangle.el (org-babel-spec-to-string): Move some processing...
(org-babel-tangle-single-block): ... there.  This function is called
with the Org buffer as its original buffer whereas the previous one is
not.

This is a follow-up to 026fb75, which was reverted.

Reported-by: David Dynerman <emperordali@block-party.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/110670>
lisp/ob-tangle.el