瀏覽代碼

Merge branch 'maint'

Nicolas Goaziou 7 年之前
父節點
當前提交
dd4a3d3b11
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob-core.el

+ 1 - 1
lisp/ob-core.el

@@ -1763,7 +1763,7 @@ to `org-babel-named-src-block-regexp'."
       (or (and (looking-at regexp)
 	       (progn (goto-char (match-beginning 1))
 		      (line-beginning-position)))
-	  (ignore-errors (org-next-block 1 nil))))))
+	  (ignore-errors (org-next-block 1 nil regexp))))))
 
 (defun org-babel-src-block-names (&optional file)
   "Returns the names of source blocks in FILE or the current buffer."