org-mode/lisp
Carsten Dominik b4455950e3 Publishing: Fix bug with finding project for a file.
Ian Barton writes:

>
> This has been happening for a while. I suspect it's something in my
> settings, but I can't work out what. When I publish a single file, I
> get the following error:
>
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>  file-truename(nil)
> org-publish-file("/home/ian/nfs/firewall/Documents/org/holiday/holiday.org")
>  org-publish-current-file(nil)
>  call-interactively(org-publish-current-file)
>  org-export(nil)
>  call-interactively(org-export)
>
> Publishing a whole project works fine.

This was caused by an attempt of the publishing code to always find
the top enclosing project.  While this makes sense when publishing a
project, for a single file we want just the smallest enclosing
project.  This commit makes sure that this difference is treated
correctly.
2009-02-26 22:18:16 +01:00
..
ChangeLog Publishing: Fix bug with finding project for a file. 2009-02-26 22:18:16 +01:00
ChangeLog.01 Split ChangeLog file into parts. 2008-05-08 08:16:38 +02:00
org-agenda.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-archive.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-attach.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-bbdb.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-bibtex.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-clock.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-colview-xemacs.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-colview.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-compat.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-exp.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-export-latex.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-faces.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-footnote.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-gnus.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-id.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-info.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-irc.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-jsinfo.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-list.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-mac-message.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-macs.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-mew.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-mhe.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-mouse.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-plot.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-publish.el Publishing: Fix bug with finding project for a file. 2009-02-26 22:18:16 +01:00
org-remember.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-rmail.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-table.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-timer.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-vm.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-w3m.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org-wl.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00
org.el Push version number to 6.23trans 2009-02-26 21:32:04 +01:00