emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] batch publish all, forcing. how?


From: Nick Dokos
Subject: Re: [O] batch publish all, forcing. how?
Date: Thu, 07 Apr 2011 18:38:44 -0400

address@hidden wrote:

> 
> I've been experimenting with:
> 
> emacs23 --batch -l ~/.emacs -f org-publish-all
> 
> to publish a total fresh version of my project, but it misses some
> files (an unchanging .css for example)
> 
> I suspect the optional force (defun org-publish-all (&optional force)...
> might help, but I don't know lisp well enough to know how to send it
> force.
> 
> Can someone offer a howto?
> 

Add a function to your .emacs

--8<---------------cut here---------------start------------->8---
(defun org-publish-all-force ()
   (interactive)
   (org-publish-all t))
--8<---------------cut here---------------end--------------->8---

and call it instead of org-publish-all on the command line.

But if the css file is unchanging, why does it matter?

Nick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]