Hi Dan,

Dan Davison <dandavis...@gmail.com> writes:

> Here's a patch. I note that Eric S pointed out in a separate thread that
> org-current-export-file can be used for a similar purpose.

Thanks a lot for the patch.  I applied a generalized version of it,
using `org-export-current-backend' whenever possible - see last git
repository.

Now one can use `org-export-current-backend' anytime during export
to check the current export backend.

This also reduces the amount of variable we need to pass to the
function.  I've been through the functions which had a "backend"
variable and I think it's safe to always dismiss such a variable
and use `org-export-current-backend'.

Best,

-- 
 Bastien

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to