diff --git a/ChangeLog b/ChangeLog index 197f1210e..2b417a64a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-03-10 Carsten Dominik + * org-publish.el (org-publish-get-files): Protect against empty p. + * org.el (org-ctrl-c-star): Implement a missing branch in the decision tree. diff --git a/org-publish.el b/org-publish.el index 4509e698a..07bd61caf 100644 --- a/org-publish.el +++ b/org-publish.el @@ -379,7 +379,7 @@ If NO-EXCLUSION is non-nil, don't exclude files." (mapc (lambda(p) (let* ((exclude (plist-get (cdr p) :exclude)) - (files (org-publish-get-base-files p exclude))) + (files (and p (org-publish-get-base-files p exclude)))) ;; add all files from this project (mapc (lambda(f) (add-to-list 'all-files