aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coq/coq.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index 61107c9d..ea24199d 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -722,7 +722,7 @@ the *goals* buffer."
(defun coq-remove-trailing-dot (s)
"Return the string S without its trailing \".\" if any.
Return nil if S is nil."
- (if (and s (string-match "\\.\\>" s))
+ (if (and s (string-match "\\.\\'" s))
(substring s 0 (- (length s) 1))
s))