summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2017-08-25 22:00:38 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2017-08-25 22:00:38 +0200
commitdd4a3d3b1112e99e2e11ba647c14c1e76ea27be7 (patch)
tree9922c097c0c12d77f078c82a1411a2e367f91fcf
parent489346c1d528256cf4bf21dbfa4a140e720e7d1d (diff)
parent21a8ec1c0f4d1797288a12cd9bfc6446a2ac03cb (diff)
downloadorg-mode-dd4a3d3b1112e99e2e11ba647c14c1e76ea27be7.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/ob-core.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index 3d28c06..d25908d 100644
--- a/lisp/ob-core.el
+++ b/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."