|
From: | Magnus Henoch |
Subject: | [Orgmode] Re: org batch job using emacsclient? |
Date: | Mon, 16 Nov 2009 14:07:04 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Stefan Vollmar <address@hidden> writes: > cmd = emacsclient + " --eval " \ > + " \"(add-to-list 'load-path \\\"" + ORGLIB + "\\\")\"" \ > + " \"(require 'org)\"" \ > + " \"(require 'org-exp)\"" \ > + " \"(setq org-export-headline-levels 2)\"" \ > + " \"(load-file \\\"" + orgfile + "\\\")\"" \ > + " \"(org-export-as-html)\"" emacsclient --eval expects only a single form. Enclose all that in (progn ...) and it should work better. Magnus
[Prev in Thread] | Current Thread | [Next in Thread] |