Enda <enda...@yahoo.com> wrote:

> When I run:
> emacs --batch --visit=index.org --funcall org-export-as-html-batch
> 
> If index.html already exists a backup file index.html~ is created,
> however when I export as html within Emacs no backup file is
> created. How do I prevent a backup file being created in the above
> scenario?
> 

Try

emacs --batch --visit=foo.org --eval '(setq backup-inhibited t)' --funcall 
org-export-as-html-batch

Nick

> Best wishes,
> 
> Enda
> 
> 
> ----------------------------------------------------
> Alternatives:
> 
> ----------------------------------------------------

Reply via email to