diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-25 21:59:28 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-25 21:59:28 +0200 |
commit | 21a8ec1c0f4d1797288a12cd9bfc6446a2ac03cb (patch) | |
tree | 8b03ec626e8ad642322bf41e6d72b8a3dfb97cc4 | |
parent | 51b431d01365211d4c40b07729d5d11d82b9dfe2 (diff) | |
download | org-mode-21a8ec1c0f4d1797288a12cd9bfc6446a2ac03cb.tar.gz |
ob-core: Fix going to a named block.
* lisp/ob-core.el (org-babel-find-named-block): Add missing argument.
Reported-by: Eric S Fraga <ucecesf@ucl.ac.uk>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00576.html>
-rw-r--r-- | lisp/ob-core.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 2e28ac4..527fb22 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -1756,7 +1756,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." |