diff options
| author | Somelauw <Somelauw> | 2019-11-04 21:42:28 +0100 |
|---|---|---|
| committer | Somelauw <Somelauw> | 2019-11-04 21:42:28 +0100 |
| commit | 6d560db4da14844c0b94336079a4252882502401 (patch) | |
| tree | 2ffed47d97732b5d1378c895935af60ec88754cf | |
| parent | b6d652a9163d3430a9e0933a554bdbee5244bbf6 (diff) | |
Don't require s
| -rw-r--r-- | evil-org.el | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |
