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*.
This commit is contained in:
Eric Schulte 2012-03-19 10:37:04 -04:00 committed by Bastien Guerry
parent 4480ebe5f5
commit 9e30393125
1 changed files with 1 additions and 1 deletions

View File

@ -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))