aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-indent.el
diff options
context:
space:
mode:
authorGravatar Pierre Courtieu <courtieu@lri.fr>2012-06-14 16:15:28 +0000
committerGravatar Pierre Courtieu <courtieu@lri.fr>2012-06-14 16:15:28 +0000
commita1c532da10c7f1168b68c238622009301f48b087 (patch)
treebe9cb2a3141a3e2e2b4ba664f25407dda1b9b43e /coq/coq-indent.el
parentbd31264049118852bf122fce5872074ec495427d (diff)
Fix a bug in coq indet code when at the beginning of a buffer.
Diffstat (limited to 'coq/coq-indent.el')
-rw-r--r--coq/coq-indent.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/coq/coq-indent.el b/coq/coq-indent.el
index ba39b82f..185c09bc 100644
--- a/coq/coq-indent.el
+++ b/coq/coq-indent.el
@@ -350,7 +350,7 @@ and return nil."
;; Find end of command
(while (and (setq foundbeg
(and
- (re-search-backward proof-script-command-end-regexp limit t)
+ (re-search-backward proof-script-command-end-regexp limit 'dummy)
(match-beginning 1)))
(setq next-pos (- (match-end 0) 1))
(or (if (or (string-equal (match-string 1) "}")