Using emacs org-mode, how to publish immutable files in a project?

I am running Emacs 24.3 and org-mode 8.25f. When I use the Mx org-publish command, org-mode only converts new .org files to .html and skips all the others that have not been changed since the last publication.

However, as a rule, I have some changes to the publishing setup and some changes to the CSS code. I want them to take effect for all files, not just recently modified ones.

So, can I tell org-mode not to skip these immutable files?

+6
source share
1 answer

This should work:

M-: (org-publish "project name" t) 

Running org-publish with FORCE set to t . From the docs:

 When optional argument FORCE is non-nil, force publishing all files in PROJECT. With a non-nil optional argument ASYNC, publishing will be done asynchronously, in another process. 

As you find yourself , the prefix argument will also force Org to publish all the files :

 Cu Mx org-publish 
+8
source

All Articles