diff options
| author | Pierre Courtieu | 2011-11-07 14:51:46 +0000 |
|---|---|---|
| committer | Pierre Courtieu | 2011-11-07 14:51:46 +0000 |
| commit | fcf51e91fe9bb2e630b03678271e542ed031b0ac (patch) | |
| tree | 55bb42cd526777c55f42373e8068be3a214a43f4 | |
| parent | e3ebcdf28a7d6ff7384a5237ed5b528d236475c9 (diff) | |
Fixing syntax.
| -rw-r--r-- | coq/coq.el | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -444,14 +444,6 @@ Lemma foo: forall n, (and (equal prev "") (member (char-before) '(?\{ ?\}))))))) (forward-char -1) (if (looking-at "{") "BeginSubproof" "EndSubproof")) - ;; ((and (equal tok "") (equal (char-before) ?\}) - ;; (let ((pos (- (point) 1))) - ;; (and (save-excursion - ;; (forward-char -1) - ;; (skip-syntax-backward "s-") - ;; (member (char-before) '(?\. ?\} ?\{))) - ;; (goto-char pos)))) - ;; "EndSubproof") ((and (equal tok "") (looking-back "|}" (- (point) 2))) (goto-char (match-beginning 0)) "|}") ((and (equal tok ":=") @@ -1033,6 +1025,8 @@ This is specific to `coq-mode'." (defun coq-mode-config () ;; Coq error messages are thrown off by TAB chars. (set (make-local-variable 'indent-tabs-mode) nil) + ;; Coq defninition never start by a parenthesis + (set (make-local-variable 'open-paren-in-column-0-is-defun-start) nil) (setq proof-terminal-string ".") (setq proof-script-command-end-regexp coq-script-command-end-regexp) (setq proof-script-parse-function 'coq-script-parse-function) |
