Sfoglia il codice sorgente

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.
Eric Schulte 14 anni fa
parent
commit
10d76f720a
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      lisp/ob.el

+ 2 - 2
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