diff options
| author | Somelauw <Somelauw> | 2020-01-01 22:22:25 +0100 |
|---|---|---|
| committer | Somelauw <Somelauw> | 2020-01-01 22:22:25 +0100 |
| commit | 6265470cde7817025e8ca034c9e9e506e095bc8a (patch) | |
| tree | e06ecceaef3e96a47576fe44deb6f8e02c90e869 | |
| parent | 9d4be14118bf27094a30dbff349b815f098aacbf (diff) | |
Improve matching 10 in lists
| -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 9bf7ff6..296a13c 100644 --- a/evil-org.el +++ b/evil-org.el @@ -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:]]*\\([+-]\\|[1-9]+\\.\\)[[:space:]]*\\(::[[:space:]]*\\)?$" + (string-match-p "^[[:space:]]*\\([+-]\\|[[:digit:]]+[.)]\\)[[:space:]]*\\(::[[:space:]]*\\)?$" (thing-at-point 'line))))) ;; other |
