forked from mirrors/org-mode
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:
parent
a0b80b5392
commit
ea847dcb5f
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Reference in New Issue