Browse Source

ob: safer insertion of results into a list

* lisp/ob.el (org-babel-result-end): Replace call to org-in-item-p to
  the more specific org-at-item-p.
Eric Schulte 14 years ago
parent
commit
ba0f6d765f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob.el

+ 1 - 1
lisp/ob.el

@@ -1581,7 +1581,7 @@ code ---- the results are extracted in the syntax of the source
   (save-excursion
     (cond
      ((org-at-table-p) (progn (goto-char (org-table-end)) (point)))
-     ((org-in-item-p) (- (org-list-bottom-point) 1))
+     ((org-at-item-p) (- (org-list-bottom-point) 1))
      (t
       (let ((case-fold-search t)
 	    (blocks-re (regexp-opt