Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Somelauw authored and Somelauw committed Jan 1, 2020
2 parents d0a4253 + e126a5e commit 9d4be14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/keythemes.org
Original file line number Diff line number Diff line change
Expand Up @@ -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=.
Expand Down
2 changes: 1 addition & 1 deletion evil-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 9d4be14

Please sign in to comment.