ob: fix small bug in `org-babel-src-block-names'

* lisp/ob.el (org-babel-src-block-names): Fix bug, wrong match-string
  used after update to regexp.
This commit is contained in:
Eric Schulte 2011-01-11 10:14:13 -07:00
parent a0b80b5392
commit ea847dcb5f
1 changed files with 1 additions and 1 deletions

View File

@ -1129,7 +1129,7 @@ org-babel-named-src-block-regexp."
(when file (find-file file)) (goto-char (point-min))
(let (names)
(while (re-search-forward org-babel-src-name-w-name-regexp nil t)
(setq names (cons (org-babel-clean-text-properties (match-string 3))
(setq names (cons (org-babel-clean-text-properties (match-string 4))
names)))
names)))