Hello, Arne Babenhauserheide <arne_...@web.de> writes:
> When you set a publishing project which :include 's a non-existant > file, the error message is > > +: Wrong type argument: integerp, nil > > This should instead be something like “specified nonexstient file”. > > The function responsible to this is > > (defun org-publish-cache-ctime-of-src (file) > "Get the ctime of FILE as an integer." > (let ((attr (file-attributes > (expand-file-name (or (file-symlink-p file) file) > (file-name-directory file))))) > (+ (lsh (car (nth 5 attr)) 16) > (cadr (nth 5 attr))))) > > (file-attributes <nonexistent-file) returns nil. So this should be > checked to return a clear error message. Thank you for the detailed report. This should be fixed. Regards, -- Nicolas Goaziou