aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-syntax.el
diff options
context:
space:
mode:
authorGravatar David Aspinall <da@inf.ed.ac.uk>2010-09-22 09:43:26 +0000
committerGravatar David Aspinall <da@inf.ed.ac.uk>2010-09-22 09:43:26 +0000
commit97c62745bd410daff598e03d797da4b67af033f3 (patch)
treeb6e2ae3233971965ee2b7a154b7179e6789182df /coq/coq-syntax.el
parentc440483752e4c36c24bf052390b7fa41d99127ef (diff)
Remove support for Emacs <21 in syntax table
Diffstat (limited to 'coq/coq-syntax.el')
-rw-r--r--coq/coq-syntax.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/coq/coq-syntax.el b/coq/coq-syntax.el
index 83b52cf0..802bad68 100644
--- a/coq/coq-syntax.el
+++ b/coq/coq-syntax.el
@@ -1020,14 +1020,10 @@ Group number 1 matches the name of the library which is required.")
(modify-syntax-entry ?\' "_")
(modify-syntax-entry ?\| ".")
-;; should maybe be "_" but it makes coq-find-and-forget (in coq.el) bug
+ ;; should maybe be "_" but it makes coq-find-and-forget (in coq.el) bug
(modify-syntax-entry ?\. ".")
- (condition-case nil
- ;; Try to use Emacs-21's nested comments.
- (modify-syntax-entry ?\* ". 23n")
- ;; Revert to non-nested comments if that failed.
- (error (modify-syntax-entry ?\* ". 23")))
+ (modify-syntax-entry ?\* ". 23n")
(modify-syntax-entry ?\( "()1")
(modify-syntax-entry ?\) ")(4"))