Skip to content

Commit

Permalink
Fix #42
Browse files Browse the repository at this point in the history
Add support for removing empty numbered/"+"-prefixed lists when hitting return
  • Loading branch information
Felix Schlitter authored Dec 1, 2018
1 parent b6d652a commit d0a4253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evil-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ The behavior of this function can be controlled using `evil-org-special-o/O’."
(row (nth (1- (org-table-current-line)) rows)))
(cl-every 'string-empty-p row)))
((org-at-item-p)
(string-match-p "^[[:space:]]*-[[:space:]]*\\(::[[:space:]]*\\)?$"
(string-match-p "^[[:space:]]*\\([+-]\\|[1-9]+\\.\\)[[:space:]]*\\(::[[:space:]]*\\)?$"
(thing-at-point 'line)))))

;; other
Expand Down

0 comments on commit d0a4253

Please sign in to comment.