summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSomelauw <Somelauw@gmail.com>2017-06-29 22:34:16 +0200
committerGitHub <noreply@github.com>2017-06-29 22:34:16 +0200
commit9d9b748c43eec68312c9190652e56c8d943bd3d1 (patch)
treeff9800024e8dfca277e400ad592d08e438bc9528
parent7daf15222faa97c7fa28d772125ef902d30cd26f (diff)
parentf6cb5e4a0808b885d5df2a21cb97c8d544974226 (diff)
Merge pull request #9 from ZarsBranchkin/patch-1
Fix org-insert-item cursor position
-rw-r--r--evil-org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/evil-org.el b/evil-org.el
index f2db940..6c21e47 100644
--- a/evil-org.el
+++ b/evil-org.el
@@ -133,7 +133,7 @@ Passing in any prefix argument, executes the command without special behavior."
(e (org-element-lineage (org-element-at-point) special t)))
(cl-case (org-element-type e)
((table-row) (org-table-insert-row '(4)) (evil-insert nil))
- ((item) (org-insert-item) (evil-append nil))
+ ((item) (org-insert-item) (evil-insert nil))
(otherwise (evil-open-below count)))))
(defun evil-org-open-above (count)
@@ -147,7 +147,7 @@ Passing in any prefix argument, executes the command without special behavior."
(e (org-element-lineage (org-element-at-point) special t)))
(cl-case (org-element-type e)
((table-row) (org-table-insert-row) (evil-insert nil))
- ((item) (beginning-of-line) (org-insert-item) (evil-append nil))
+ ((item) (beginning-of-line) (org-insert-item) (evil-insert nil))
(otherwise (evil-open-above count)))))
(defun evil-org-insert-subheading (&optional arg)