aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Aspinall2002-12-29 16:18:55 +0000
committerDavid Aspinall2002-12-29 16:18:55 +0000
commit274c2cdfd58440d163a6da10858db319e773f4a7 (patch)
tree922d73a7cf289c7b5e7064b29bc59b0ddd190aa1
parent60594f3eae52795f82fd668c7618d6f8b12978cd (diff)
Try to catch nesting too deep ugliness (esp in Isabelle tracing)
-rw-r--r--generic/pg-response.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/pg-response.el b/generic/pg-response.el
index 4eb2fde0..111a0f45 100644
--- a/generic/pg-response.el
+++ b/generic/pg-response.el
@@ -302,7 +302,11 @@ and start at the first error."
(setq start (point))
(insert str)
(unless (bolp) (newline))
- (proof-fontify-region start (point))
+ ;; Catch errors here: this is to deal with ugly problem
+ ;; when fontification of large output gives
+ ;; (error Nesting too deep for parser)
+ (condition-case nil
+ (proof-fontify-region start (point)))
(set-buffer-modified-p nil))))