|
From: | Carsten Dominik |
Subject: | Re: [Orgmode] compose and send html email using orgmode |
Date: | Wed, 16 Jan 2008 09:06:35 +0100 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |