Manuel Amador <amador.man...@gmail.com> writes:
> Hi all, 
>
> There seems to be a problem. When compiling org-mode from the latest git
> repository, I get the following error:
>
> In org-publish-get-base-files-1:
> org-publish.el:407:13:Warning: reference to free variable `sitemap-requested'
> org-publish.el:915:1:Error: Invalid read syntax: "#"
> make: *** [lisp/org-publish.elc] Error 1


Hi Manual,


thanks for the report! My fault.

This patch should fix it:


diff --git a/lisp/org-publish.el b/lisp/org-publish.el
index e77b1a0..fefd50d 100644
--- a/lisp/org-publish.el
+++ b/lisp/org-publish.el
@@ -352,6 +352,7 @@ This splices all the components into the list."
 (defvar sitemap-alphabetically)
 (defvar sitemap-sort-folders)
 (defvar sitemap-ignore-case)
+(defvar sitemap-requested)
 (defun org-publish-compare-directory-files (a b)
   "Predicate for `sort', that sorts folders-first/last and
 eventually alphabetically."

Best wishes


   Sebastian
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to