Hi Marco, Marco Wahl <marcowahls...@gmail.com> writes:
> Arne Babenhauserheide <arne_...@web.de> writes: >> (setq org-publish-project-alist >> '(("guile-basics" >> :base-directory "~/eigenes/py2guile" >> :publishing-directory (concat private-publish-ftp-proj >> "guile-basics/") >> :base-extension "org" >> :publishing-function org-html-publish-to-html >> :completion-function (lambda () (private-publish-rename-to-index >> (concat private-publish-ftp-proj >> "guile-basics/") >> "guile-basics.html")) >> :section-numbers nil >> :with-toc t >> :html-preamble t >> :exclude ".*" >> :include ["guile-basics.org"]))) >> >> >> This used to work, but now it breaks with >> >> org-publish-projects: Invalid function: lambda > > An additional pair of parens should help as workaround. Concretely try > > :completion-function ((lambda () (private-publish-rename-to-index > (concat private-publish-ftp-proj > "guile-basics/") > "guile-basics.html"))) > > This works since it's possible to use a list of functions also. > > I'll commit a fix against master in a second to be able to use a lambda > instead of a list containing one lambda. That’s awesome — thank you! ♡ Also thank you for the workaround! Best wishes, Arne -- Unpolitisch sein heißt politisch sein ohne es zu merken