aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/proof-utils.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/proof-utils.el b/generic/proof-utils.el
index 7816bd3f..299bf7db 100644
--- a/generic/proof-utils.el
+++ b/generic/proof-utils.el
@@ -696,7 +696,7 @@ If RETURNNOPATH is non-nil, return PROGNAME even if we can't find a full path."
(string-match proof-comment-end-regexp str lpos) epos))
(if (and spos (or (not epos) (< spos epos)))
(progn
- (if (= lvl 0) (setq astr
+ (if (<= lvl 0) (setq astr
(concat astr
(substring str pos spos))))
(setq lpos (+ spos 1) lvl (+ lvl 1)))