Explorar o código

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.
Eric Schulte %!s(int64=14) %!d(string=hai) anos
pai
achega
ea847dcb5f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/ob.el

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