aboutsummaryrefslogtreecommitdiffhomepage
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 49d72c16..a75760ed 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -2055,7 +2055,7 @@ mouse activation."
(defun coq--format-intros (output)
"Create an “intros” form from the OUTPUT of “Show Intros”."
(let* ((shints (replace-regexp-in-string "[\r\n ]*\\'" "" output)))
- (if (or (string-empty-p shints)
+ (if (or (string= "" shints)
(string-match coq-error-regexp shints))
(error "Don't know what to intro")
(format "intros %s" shints))))