Bug in JDEE with CVS emacs

If you're running CVS emacs and JDEE, you'll want to patch beanshell.el with the following:

--- jde/beanshell.el~ 2008-05-15 01:28:59.000000000 +0200
+++ jde/beanshell.el 2008-05-15 01:29:57.000000000 +0200
@@ -341,7 +341,7 @@

(insert output)
- 'exit status
+ 'exit (string-to-number status)
(if (string= "0" status)
(format "exited abnormally with code %s\n"

This avoids jde-compile falling over when the compilation is done (when running with debug-on-error).

Update: Turns out that parse-integer is not core Emacs; string-to-number, however, is.

No comments: