--- 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:
Post a Comment