Преглед изворни кода

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