aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Courtieu2015-03-27 09:55:21 +0000
committerPierre Courtieu2015-03-27 09:55:21 +0000
commit9d6766d2f20362240ebfe284e0dbd97fb25504a0 (patch)
tree9a4cde0ca1b9450ca72cb3338b35c8dfc0532832
parent6a504a85265065b13c36cc56a807551044990b7c (diff)
Fixed a regex for detecting ids at point.
-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))