Make it possible to use buffer local noweb start/end patterns
commit4b6b6f4799dad383e0bcf4568ac695ee31cb347d
authorSean O'Halpin <sean.ohalpin@gmail.com>
Sat, 25 Aug 2012 22:22:24 +0000 (25 23:22 +0100)
committerBastien Guerry <bzg@altern.org>
Sun, 26 Aug 2012 17:26:01 +0000 (26 19:26 +0200)
tree357427908408ecff6379eecbd83fecb1c9a087f2
parentc32d456f72657828083eb12f45515ae2c723390f
Make it possible to use buffer local noweb start/end patterns

* lisp/ob.el (org-babel-expand-noweb-references): Capture current
noweb start and end patterns then use to set buffer locals in
(with-temp-buffer) form.

This solves the problem that using different patterns for
org-babel-noweb-wrap-start and org-babel-noweb-wrap-end could be done
only globally.

TINYCHANGE
lisp/ob.el