Publishing: Rebuild validation list when forcing publishing

This commit is contained in:
Carsten Dominik 2010-02-23 07:37:52 +01:00
parent 26b0824f5a
commit 0afc4633f7
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
2010-02-23 Carsten Dominik <carsten.dominik@gmail.com>
* org-publish.el (org-publish-all, org-publish-current-file)
(org-publish-current-project): When called with prefix argument
FORCE, also rebuild the validation file list.
* org-latex.el (org-export-latex-preprocess): Protect footnotes in
section headings.

View File

@ -650,7 +650,7 @@ directory and force publishing all files."
(interactive "P")
(when force
(org-publish-remove-all-timestamps))
(org-publish-initialize-files-alist)
(org-publish-initialize-files-alist force)
(save-window-excursion
(let ((org-publish-use-timestamps-flag
(if force nil org-publish-use-timestamps-flag)))
@ -661,7 +661,7 @@ directory and force publishing all files."
"Publish the current file.
With prefix argument, force publish the file."
(interactive "P")
(org-publish-initialize-files-alist)
(org-publish-initialize-files-alist force)
(save-window-excursion
(let ((org-publish-use-timestamps-flag
(if force nil org-publish-use-timestamps-flag)))
@ -673,7 +673,7 @@ With prefix argument, force publish the file."
With a prefix argument, force publishing of all files in
the project."
(interactive "P")
(org-publish-initialize-files-alist)
(org-publish-initialize-files-alist force)
(save-window-excursion
(let ((project (org-publish-get-project-from-filename (buffer-file-name) 'up))
(org-publish-use-timestamps-flag