summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-01-11 10:14:13 -0700
committerEric Schulte <schulte.eric@gmail.com>2011-01-11 10:14:13 -0700
commitea847dcb5f194aa2d9d32dc2d70f21285e72d9f3 (patch)
tree74c105b7d66505e74003e3722a1ce6bc198058ef
parenta0b80b5392d6c481fdf4f22b70d997eb55daeba4 (diff)
downloadorg-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.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob.el b/lisp/ob.el
index 6c6aa57..2fd776f 100644
--- a/lisp/ob.el
+++ b/lisp/ob.el
@@ -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)))