summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-02-18 06:13:29 -0700
committerEric Schulte <schulte.eric@gmail.com>2011-02-18 06:13:29 -0700
commit10d76f720a1f32e7fa73cb3359c1beae2b72da84 (patch)
tree317a35c14b11c9bf9fa670c5e77dd93fe410e659
parentfde7e150bba642b89b62b9c9bbfcfb61bc082853 (diff)
downloadorg-mode-10d76f720a1f32e7fa73cb3359c1beae2b72da84.tar.gz
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.
-rw-r--r--lisp/ob.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index 88226e8..36e843ff 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -1585,8 +1585,8 @@ code ---- the results are extracted in the syntax of the source
(cond
((org-at-table-p) (progn (goto-char (org-table-end)) (point)))
((org-at-item-p) (let* ((struct (org-list-struct))
- (prevs (org-list-prevs-alist struct)))
- (org-list-get-list-end (point-at-bol) struct prevs)))
+ (prvs (org-list-prevs-alist struct)))
+ (1- (org-list-get-list-end (point-at-bol) struct prvs))))
(t
(let ((case-fold-search t)
(blocks-re (regexp-opt