2008-05-15

Bug in JDEE with CVS emacs

If you're running CVS emacs and JDEE 2.3.5.1, 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)
(compilation-handle-exit
- 'exit status
+ 'exit (string-to-number status)
(if (string= "0" status)
"finished\n"
(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: