aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--coq/coq-smie.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/coq/coq-smie.el b/coq/coq-smie.el
index f754bc31..0dec5703 100644
--- a/coq/coq-smie.el
+++ b/coq/coq-smie.el
@@ -48,7 +48,8 @@ attention to case differences."
;; stackoverflow efficient if bytecompiled, builtin version is
;; probably better when it exists
(unless (fboundp 'string-suffix-p)
- (fset 'string-suffix-p 'coq-string-suffix-p))
+ (fset 'string-suffix-p 'coq-string-suffix-p)
+ (declare-function string-suffix-p "smie"))
;; As any user defined notation ending with "." will break
;; proofgeneral synchronization anyway, let us consider that any