Using Emacs 21.0.103.1 (i686-pc-linux-gnu) I noticed that I could
not generate javadocs if the directory did not exist before
generation.

I traced the problem down to line 250 of jde-javadoc-gen.el
(jdee-2.2.7.1) and the directory-files function in Emacs21
appears to fail if the directory does not exist rather than
return nil and continue making the non-existant directory.

I changed the line to:
  (if (not (file-readable-p jde-javadoc-gen-destination-directory))
and it appears to work for me.

This may be fixed or different in other Emacs21's but I just
thought I would warn about possible problems.  The directory-files
tests in JDEE may need to be either wrapped in a conditional error
clause, or replaced with file-readable-p or file-exists-p tests
instead.

Thanks,
Jeffrey
[EMAIL PROTECTED]


Reply via email to