diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2010-08-15 11:45:08 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2010-09-01 19:05:53 +0200 |
commit | 1230cf9f097d81d38a6838835bb31495576de030 (patch) | |
tree | 1acea79e44065636821317ea9baf5a5041e1749a | |
parent | 8385393fe68d12a30ebeb601a82203e7c69278ae (diff) | |
download | org-mode-1230cf9f097d81d38a6838835bb31495576de030.tar.gz |
Fix bug when inserting an item after bottom point of list
* org-list.el (org-list-bottom-point): Take into consideration that
bound of search can be before true ending of the list.
-rw-r--r-- | lisp/org-list.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-list.el b/lisp/org-list.el index 94b4272..2fb10b6 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -563,7 +563,7 @@ A checkbox is blocked if all of the following conditions are fulfilled: ;; The list ending is either first point matching ;; `org-list-end-re', point at first white-line before next ;; heading, or eob. - (or (org-list-terminator-between pos bound t) bound))))) + (or (org-list-terminator-between (min pos bound) bound t) bound))))) (defun org-beginning-of-item () "Go to the beginning of the current hand-formatted item. |