소스 검색

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