From 6ba98422a95a799778378ecf7e34febc6577fa3b Mon Sep 17 00:00:00 2001 From: David Aspinall Date: Tue, 24 Aug 2010 13:02:12 +0000 Subject: proof-script-command-end-regexp: allow any non-letter after a period to terminate a command, fixing #296 (and hopefully not messing up other cases). --- coq/coq.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coq') diff --git a/coq/coq.el b/coq/coq.el index 3817c5a3..3f4fff4c 100644 --- a/coq/coq.el +++ b/coq/coq.el @@ -650,7 +650,7 @@ This is specific to `coq-mode'." (set (make-local-variable 'indent-tabs-mode) nil) (setq proof-terminal-char ?\.) (setq proof-script-command-end-regexp - "\\(?:[^.]\\|\\(?:\\.\\.\\)\\)\\.\\(\\s-\\|\\'\\)") + "\\(?:[^.]\\|\\(?:\\.\\.\\)\\)\\.\\(\\s-\\|[^[:alpha:]]\\)") (setq proof-script-comment-start "(*") (setq proof-script-comment-end "*)") (setq proof-unnamed-theorem-name "Unnamed_thm") ; Coq's default name -- cgit v1.2.3