New variable to set the initial export scope.
commit3411a9d759dc6a4054ccf84561d91458912ba5bd
authorBastien Guerry <bzg@altern.org>
Fri, 11 Feb 2011 09:44:35 +0000 (11 10:44 +0100)
committerBastien Guerry <bzg@altern.org>
Fri, 11 Feb 2011 09:44:35 +0000 (11 10:44 +0100)
treefbdd55995d5b9224e3a54504bd1ec65ee51c8691
parentda8dc7bba72613131f97a28f1c4a912b8d85d7cc
New variable to set the initial export scope.

* org-exp.el (org-export-initial-scope): new custom variable.
(org-export): Use this new variable.  If there is an active
region, tell it when prompting the user for an export command.
Also change the way the function handles selection of buffer
and subtree export.

----
Now `1' switches between subtree/buffer export until the user
select an export command.  Also, when there is an active region,
modify the message so that the user is aware he will only export
the surrounding subtree.
lisp/org-exp.el