1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-18 18:51:52 +00:00

Fixed bug with nil project.

This commit is contained in:
Carsten Dominik 2008-03-10 21:30:33 +01:00
parent d0efa83a8b
commit dd68f4a445
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2008-03-10 Carsten Dominik <dominik@science.uva.nl>
* 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.

View File

@ -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