From dc5c41fbdc5c95b2d5e7a3f7698b19fa7622f66a Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sun, 29 Nov 2009 10:00:19 -0700 Subject: [PATCH] org-babel: fixed typo in reference resolution for #+results: lines --- contrib/babel/lisp/org-babel-ref.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/babel/lisp/org-babel-ref.el b/contrib/babel/lisp/org-babel-ref.el index 84d7d5e3a..200d81208 100644 --- a/contrib/babel/lisp/org-babel-ref.el +++ b/contrib/babel/lisp/org-babel-ref.el @@ -118,7 +118,7 @@ return nil." (setq split-ref (match-string 2 ref)) (find-file split-file) (setq ref split-ref)) (goto-char (point-min)) - (if (let ((result_regexp (concat "^#\\+\\(TBLNAME\\|RESNAME\\|RESULT\\):[ \t]*" + (if (let ((result_regexp (concat "^#\\+\\(TBLNAME\\|RESNAME\\|RESULTS\\):[ \t]*" (regexp-quote ref) "[ \t]*$")) (regexp (concat org-babel-source-name-regexp (regexp-quote ref) "\\(\(.*\)\\)?" "[ \t]*$")))