From 13a43222a0ab8594647584844f1765e6f130d69e Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Mon, 19 Mar 2012 10:37:04 -0400 Subject: [PATCH] fix bug in src name regexp when using *org-babel-use-quick-and-dirty-noweb-expansion* * lisp/ob.el (org-babel-expand-noweb-references): Fix bug in src name regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*. --- lisp/ob.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob.el b/lisp/ob.el index 9205a20..2e48524 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -2186,7 +2186,7 @@ block but are passed literally to the \"example-block\"." (when (org-babel-ref-goto-headline-id source-name) (org-babel-ref-headline-body))) ;; find the expansion of reference in this buffer - (let ((rx (concat rx-prefix source-name)) + (let ((rx (concat rx-prefix source-name "[ \t\n]")) expansion) (save-excursion (goto-char (point-min)) -- 1.7.9.4