Procházet zdrojové kódy

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 před 15 roky
rodič
revize
ba0f6d765f
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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