From 132eb91b6801dfa8d6f3f6964beee7c5a81ca87e Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Sat, 1 Aug 2009 19:33:01 -0600 Subject: [PATCH] no longer ensuring that noweb style references are inside comments it was slow buggy and brought in more requirements --- lisp/org-babel-tangle.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/org-babel-tangle.el b/lisp/org-babel-tangle.el index 20de1a3b8..3d69500f9 100644 --- a/lisp/org-babel-tangle.el +++ b/lisp/org-babel-tangle.el @@ -187,8 +187,7 @@ the source-code block which holds BODY." (insert body) (goto-char (point-min)) (funcall (intern (concat lang "-mode"))) (setq index (point)) - (while (and (re-search-forward "<<\\(.+\\)>>" nil t) - (save-match-data (comment-beginning))) + (while (and (re-search-forward "<<\\(.+\\)>>" nil t)) (save-match-data (setf source-name (match-string 1))) ;; add interval to new-body (goto-char (match-end 0))