瀏覽代碼

don't truncate results name on call line execution

* lisp/ob.el (org-babel-where-is-src-block-result): Don't truncate
  results name on call line execution.
Eric Schulte 13 年之前
父節點
當前提交
1ca7485a88
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob.el

+ 1 - 1
lisp/ob.el

@@ -1612,7 +1612,7 @@ following the source block."
 	   (inlinep (when (org-babel-get-inline-src-block-matches)
 	   (inlinep (when (org-babel-get-inline-src-block-matches)
 			(match-end 0)))
 			(match-end 0)))
 	   (name (if on-lob-line
 	   (name (if on-lob-line
-		     (nth 0 (org-babel-lob-get-info))
+		     (mapconcat #'identity (butlast (org-babel-lob-get-info)) "")
 		   (nth 4 (or info (org-babel-get-src-block-info 'light)))))
 		   (nth 4 (or info (org-babel-get-src-block-info 'light)))))
 	   (head (unless on-lob-line (org-babel-where-is-src-block-head)))
 	   (head (unless on-lob-line (org-babel-where-is-src-block-head)))
 	   found beg end)
 	   found beg end)