aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-indent.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2007-02-28 12:22:13 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2007-02-28 12:22:13 +0000
commit5a37180c03b61f4d64492e3fb36e4d7673e6e261 (patch)
treea1d54d0c0aa5359762d0f365538e4355718583f3 /coq/coq-indent.el
parente39eff792f0976cce529bb872ee0d21de5de2417 (diff)
Remove proof-indent-pad-eol atrocity
Diffstat (limited to 'coq/coq-indent.el')
-rw-r--r--coq/coq-indent.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/coq/coq-indent.el b/coq/coq-indent.el
index 454024c5..5f8b3f72 100644
--- a/coq/coq-indent.el
+++ b/coq/coq-indent.el
@@ -708,8 +708,7 @@ argument must be t if inside the {}s of a record, nil otherwise."
(let ((ind (save-excursion (back-to-indentation) (coq-indent-calculate))))
(indent-line-to (max 0 ind))))
(if (< (current-column) (current-indentation))
- (back-to-indentation)))
- (if proof-indent-pad-eol (proof-indent-pad-eol)))
+ (back-to-indentation))))
(defun coq-indent-line-not-comments ()
"Same as `proof-indent-line' but comments are not indented."
@@ -719,8 +718,7 @@ argument must be t if inside the {}s of a record, nil otherwise."
(let ((ind (save-excursion (back-to-indentation) (coq-indent-calculate t))))
(when ind (indent-line-to (max 0 ind)))))
(if (< (current-column) (current-indentation))
- (back-to-indentation)))
- (if proof-indent-pad-eol (proof-indent-pad-eol)))
+ (back-to-indentation))))
(defun coq-indent-region (start end)
(let ((deb (min start end)) (fin (max start end)))