Browse Source

no longer ensuring that noweb style references are inside comments

  it was slow buggy and brought in more requirements
Eric Schulte 16 năm trước cách đây
mục cha
commit
132eb91b68
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      lisp/org-babel-tangle.el

+ 1 - 2
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))