ox: Properly transfer bound variables through export process
commit55db57dc0a20ec7b6a4eb4c611c2bc9da1778c2f
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 1 Apr 2013 13:18:47 +0000 (1 15:18 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Mon, 1 Apr 2013 13:20:52 +0000 (1 15:20 +0200)
treea8375710d4347933521b8a3ff3078eb293b597cb
parentfa3b4830b8443f24b8aa5e91f78fe5dd078871a7
ox: Properly transfer bound variables through export process

* lisp/ox.el (org-export--list-bound-variables): Renamed from
  `org-export--install-letbind-maybe'.  Though, only return list of
  bound variables instead of installing them as buffer-local
  variables.
(org-export-get-environment): Use new function.  Take care of the
installation of bound variables.
(org-export--generate-copy-script): Make sure non-Org variables are
also installed in buffer copy.
* testing/lisp/test-ox.el: Add test.
lisp/ox.el
testing/lisp/test-ox.el