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.
This commit is contained in:
Eric Schulte 2011-01-29 08:40:57 -07:00
parent e612d0b9ff
commit ba0f6d765f
1 changed files with 1 additions and 1 deletions

View File

@ -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