From 6a4c5b160ccf0d7f88e9bb576d7dea8890023f24 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 17 Sep 2008 06:18:47 -0400 Subject: Fixed another problem with the error reporting code. --- chess-scid.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chess-scid.el b/chess-scid.el index 3f713c6..045a37a 100644 --- a/chess-scid.el +++ b/chess-scid.el @@ -24,7 +24,7 @@ (while (and (> (setq iterations (1- iterations)) 0) (eobp)) (accept-process-output chess-scid-process 1 0 t)) - (if (eobp) + (if (= here (point-max)) (error "chess-scid: '%s' failed to produce any output" command)) (goto-char (point-max)) (skip-chars-backward " \t\n\r%") -- cgit v1.2.3