From 6d560db4da14844c0b94336079a4252882502401 Mon Sep 17 00:00:00 2001 From: Somelauw Date: Mon, 4 Nov 2019 21:42:28 +0100 Subject: Don't require s --- evil-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evil-org.el b/evil-org.el index 4ef96ae..8689605 100644 --- a/evil-org.el +++ b/evil-org.el @@ -514,7 +514,7 @@ If a prefix argument is given, links are opened in incognito mode." (contents-end (org-element-property :contents-end element)) (post-affiliated (org-element-property :post-affiliated element)) (post-blank (org-element-property :post-blank element))) - (cond ((or (s-ends-with? "-block" (symbol-name type)) + (cond ((or (string-suffix-p "-block" (symbol-name type)) (memq type '(latex-environment))) ;; Special case on block types (thanks Nicolas Goaziou) (list (org-with-point-at post-affiliated (line-beginning-position 2)) -- cgit v1.0