浏览代码

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>
Nicolas Goaziou 10 年之前
父节点
当前提交
7745ef04c9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/ob-core.el

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