diff options
| author | David Aspinall | 1998-11-12 14:20:31 +0000 |
|---|---|---|
| committer | David Aspinall | 1998-11-12 14:20:31 +0000 |
| commit | 69f105a99a98cc171bcf9b7b43b51940e9df1d1c (patch) | |
| tree | 51549dfec8f7317f4fab84f7309d046a3a2423ac /coq | |
| parent | c400fa8c8208f533c1928419614d11787c952053 (diff) | |
Added note about removing proof-goal-command-p
Diffstat (limited to 'coq')
| -rw-r--r-- | coq/coq-syntax.el | 5 | ||||
| -rw-r--r-- | coq/coq.el | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/coq/coq-syntax.el b/coq/coq-syntax.el index 16f2a15f..a696cf32 100644 --- a/coq/coq-syntax.el +++ b/coq/coq-syntax.el @@ -28,6 +28,11 @@ "Scheme" )) +;; FIXME da: I'm not sure why this variable includes more than +;; just the Goal-type commands. Perhaps it was so that func-menu +;; worked neatly, but it leads to the nasty use of proof-goal-command-p +;; instead of a proof-goal-regexp. Func menu configuration has since +;; been overhauled, so this could maybe be improved now. (defvar coq-keywords-goal '( "Definition" @@ -146,6 +146,8 @@ (proof-ids-to-regexp (append coq-keywords-decl coq-keywords-defn)) "Declaration and definition regexp.") +;; FIXME da: this one function breaks the nice configuration of Proof General: +;; should have proof-goal-regexp instead. (defun coq-goal-command-p (str) "Decide whether argument is a goal or not" (and (string-match coq-goal-command-regexp str) |
