yes, the simplest way to reproduce is...
1. completely turn off emacs
2. start up emacs
3. open a non-org-mode buffer (I began editing a file called "test")
4. start up orgstruct-mode
5. enter some text, select the text as a region, then call
org-export-region-as-html
this function should fail with something like this in your messages.
Exporting... [2 times]
Wrong type argument: stringp, nil
Ah, of course, since this is not an org-mode buffer, all
the local variables needed by org-mode functions are not
initialized. You need to call the function like this:
(org-run-like-in-org-mode 'org-export-region-as-html)
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode