summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-02-18 15:02:22 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-02-18 15:02:22 +0100
commit7745ef04c9d8ac17009abae1b0e25649a472723b (patch)
treee3f31ceae6afc3dcae4abc4d735b98ac95976edb
parent5894a7450005dcc5b8418f4295ddb3225b4342d1 (diff)
downloadorg-mode-7745ef04c9d8ac17009abae1b0e25649a472723b.tar.gz
ob-core: Allow spaces in NAME
* lisp/ob-core.el (org-babel-src-name-w-name-regexp): Allow spaces as NAME value. Suggested-by: Joost Helberg <joost@snow.nl> <http://permalink.gmane.org/gmane.emacs.orgmode/95175>
-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 fe300ac..a00b5a3 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -192,7 +192,7 @@ This string must include a \"%s\" which will be replaced by the results."
"\\("
org-babel-multi-line-header-regexp
"\\)*"
- "\\([^ ()\f\t\n\r\v]+\\)")
+ "\\([^()\f\t\n\r\v]+\\)")
"Regular expression matching source name lines with a name.")
(defvar org-babel-src-block-regexp