From 97c62745bd410daff598e03d797da4b67af033f3 Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Wed, 22 Sep 2010 09:43:26 +0000 Subject: Remove support for Emacs <21 in syntax table --- coq/coq-syntax.el | 8 ++------ 1 file 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")) -- cgit v1.2.3