diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2011-01-11 10:14:13 -0700 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-01-11 10:14:13 -0700 |
commit | ea847dcb5f194aa2d9d32dc2d70f21285e72d9f3 (patch) | |
tree | 74c105b7d66505e74003e3722a1ce6bc198058ef | |
parent | a0b80b5392d6c481fdf4f22b70d997eb55daeba4 (diff) | |
download | org-mode-ea847dcb5f194aa2d9d32dc2d70f21285e72d9f3.tar.gz |
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.
-rw-r--r-- | lisp/ob.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))) |