ソースを参照

Allow matching of results with tags after the result name.

* lisp/ob-ref.el (org-babel-ref-resolve): Allow matching of results
  with tags after the result name.
Eric Schulte 13 年 前
コミット
b924b34b76
1 ファイル変更1 行追加1 行削除
  1. 1 1
      lisp/ob-ref.el

+ 1 - 1
lisp/ob-ref.el

@@ -148,7 +148,7 @@ the variable."
 	(widen)
 	(goto-char (point-min))
 	(if (let* ((rx (regexp-quote ref))
-		   (res-rx (concat org-babel-result-regexp rx "[ \t]*$"))
+		   (res-rx (concat org-babel-result-regexp rx "[ \t]*.*$"))
 		   (src-rx (concat org-babel-src-name-regexp
 				   rx "\\(\(.*\)\\)?" "[ \t]*$")))
 	      ;; goto ref in the current buffer