aboutsummaryrefslogtreecommitdiffhomepage
path: root/isa
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2004-10-07 14:28:46 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2004-10-07 14:28:46 +0000
commita1a666496908a39530ead7bd82354770e94124e0 (patch)
tree4bb61e4122b535806bca40871cc1252fd95669b0 /isa
parent340b4c7ebc98471ca6383cbf495345d98999a402 (diff)
Repaired fix suggested by Jonathan S. Shapiro
Diffstat (limited to 'isa')
-rw-r--r--isa/isabelle-system.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/isabelle-system.el b/isa/isabelle-system.el
index acd6d13a..fcb8ac2c 100644
--- a/isa/isabelle-system.el
+++ b/isa/isabelle-system.el
@@ -89,7 +89,7 @@ with full path."
"Like shell-command-to-string except the last character is stripped."
(let ((s (shell-command-to-string command)))
(if (equal (length s) 0) s
- (substring s -1))))
+ (substring s 0 -1))))
(defun isa-getenv (envvar &optional default)
"Extract an environment variable setting using the `isatool' program.