ob: adjust to changes in list format

* lisp/ob.el (org-babel-result-end): Adjust marker of list end to
  changes in the list format.
This commit is contained in:
Eric Schulte 2011-02-18 06:13:29 -07:00
parent fde7e150bb
commit 10d76f720a
1 changed files with 2 additions and 2 deletions

View File

@ -1585,8 +1585,8 @@ code ---- the results are extracted in the syntax of the source
(cond (cond
((org-at-table-p) (progn (goto-char (org-table-end)) (point))) ((org-at-table-p) (progn (goto-char (org-table-end)) (point)))
((org-at-item-p) (let* ((struct (org-list-struct)) ((org-at-item-p) (let* ((struct (org-list-struct))
(prevs (org-list-prevs-alist struct))) (prvs (org-list-prevs-alist struct)))
(org-list-get-list-end (point-at-bol) struct prevs))) (1- (org-list-get-list-end (point-at-bol) struct prvs))))
(t (t
(let ((case-fold-search t) (let ((case-fold-search t)
(blocks-re (regexp-opt (blocks-re (regexp-opt