summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/keythemes.org2
-rw-r--r--evil-org.el2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/keythemes.org b/doc/keythemes.org
index 7bd755b..0fbea1c 100644
--- a/doc/keythemes.org
+++ b/doc/keythemes.org
@@ -44,7 +44,7 @@
| key | function | explanation |
|-----+------------+-------------------------------------|
| =<= | evil-org-< | Promote all headings in marked area |
- | =>= | evil-org-< | Demote all headings in marked area |
+ | =>= | evil-org-> | Demote all headings in marked area |
|-----+------------+-------------------------------------|
Variable =evil-org-retain-visual-state-on-shift= controls whether the selection should be restored after promoting / indenting, which is helpful if you want to promote / indent multiple times. By default this variable is set to =nil=.
diff --git a/evil-org.el b/evil-org.el
index 6d5ccad..9bf7ff6 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))